Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ログイン、新規登録画面の作成 #1

Open
Fukuemon opened this issue Jun 9, 2023 · 0 comments
Open

ログイン、新規登録画面の作成 #1

Fukuemon opened this issue Jun 9, 2023 · 0 comments

Comments

@Fukuemon
Copy link
Owner

Fukuemon commented Jun 9, 2023

No description provided.

Fukuemon added a commit that referenced this issue Jun 10, 2023
authSlice
initialState:ストアの初期状態
reducers:アクションに対応するreducers関数

非同期関数
・jwtトークンの取得
・新規ユーザーの作成
・プロフィール作成
・プロフィール編集
・ログインユーザーの自身のプロフィールを取得
・プロフィール一覧を取得
Fukuemon added a commit that referenced this issue Jun 10, 2023
以前作ったコンポーネントをTailwind.cssに置き換えて実装
material-uiを使っていた場所は適宜修正
Fukuemon added a commit that referenced this issue Jun 10, 2023
authSliceからstateとreducerをimportし、それらを元に認証画面を作成
Fukuemon added a commit that referenced this issue Jun 10, 2023
以前使っていたコンポーネントを使用
navbarの右上にログイン状態のユーザーアイコンを表示させるように
Fukuemon added a commit that referenced this issue Jun 12, 2023
useEffectを使用し、ローカルストレージにjwtトークンがない場合にログインページに遷移するようにする
Fukuemon added a commit that referenced this issue Jun 13, 2023
プロフィールが作成されなかった
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant