AdityaPatange1 / AdityaPatange1/joker

Classic Authentication using JWT tokens

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。