ervan-haryadi / fullstack-javascript-capstone-project

A Capstone Project for Full-Stack JavaScript Professional Certificate
Apache License 2.0
0 stars 0 forks source link

Add authentication components and logic #5

Open ervan-haryadi opened 3 months ago

ervan-haryadi commented 3 months ago

As a User I need login, register, and authentication function So that I can personalize my account (search history, gifted item, etc.)

Details and Assumptions

* The authentication process will be using JWT
* User can register an account, login, and logout

Acceptance Criteria

gherkin
Given register feature
When user create account
Then the user will be registered

Given login feature
When user login
Then the navigation bar will show the username

Given logout feature
When user logout
Then the username will no longer be shown on the navigation bar
ervan-haryadi commented 3 months ago

auth logic have been implemented. Moving to login and register implementation

ervan-haryadi commented 3 months ago

login and register implementation done. User first name update done