AdityaPatange1 / AdityaPatange1/joker
Classic Authentication using JWT tokens
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Implement classic authentication using JWT tokens.
- Complete the implementation of login page.
- Create a signup page with username (email / phone), name and password.
- Make sure there is a confirmPassword field.
- Use NextJS forms.
- Create a server action which creates a user (make sure password is hashed) on signup and adds a record to database, you can use MongoDB Atlas for this.
- For login, check the password hash and return a token as a JSON response to the frontend.
- Create a page called Dashboard and make it a protected route, it should check the token validity and expiry and show the page only if the token is valid, else it should redirect to the login page.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.