Coder Social home page Coder Social logo

projectboard's People

Watchers

 avatar  avatar

projectboard's Issues

User avatar in menu

As a logged in user, I'm able to see my avatar in the top-right corner.

My avatar is always visible and it's of 12x12 dimension.

Link to design mockup:

Logout functionality

As a logged in user, I should be able to log out of the app.

As a logged in user, I should be able to always see a "Sign out" link on the top of my screen. When I click this link, my session should be terminated and I should be redirected to the app landing page.

Signup functionality

As a user, I should be able to create an account in the app.

As a user visiting the landing page, I should see a "Sign up" link. When I click this link, I should be taken to the registration page.

I should see a form that allows me to provide a username and a password.

When I successfully submit the form, I should be taken to the app root page as a logged in user.

In case of an error upon submit, I should see an indication of the error.

Greeting message not showing

Steps to reproduce

  1. Log in as an admin
  2. Go to the greeting message page
    Expected: See "hello, admin"
    Actual: Seeing "hello there, admin"

Add an endpoint to login users

Parent: #1

What

We want to be able to login users in our app. We need a back-end endpoint that accepts a username and a password and logs in the user if the combination is correct.

How

  • Set up the route
  • Add the controller
  • Write tests

Login functionality

As a user, I should be able to log in.

As a user, when I visit the homepage, I should see a form that allows me to log in the app providing my username and password.

Upon submitting the form successfully I should be redirected to the root page of the app.

If the form cannot be submitted, I should see an error indication. I should be able to tell what went wrong (e.g. wrong password, non-existing username, some input left unfilled).

Tasks

Create the Login page

Parent: #1

What

For the login functionality, we have to create a form with username and password fields. The form should fire a request to the server when submitted.

How

  • Add the front-end view
  • Implement client-side validation
  • Make a request to the server with the form data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.