AdityaPatange1 / AdityaPatange1/joker
Classic Authentication using JWT tokens
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。