Switching to Cookies and Sessions

Switching to Cookies and Sessions
Run the App and API
2 mins
Add an API Proxy
3 mins
Install and Configure express-session
8 mins
Set a Session on Login and Signup
4 mins
Add a Session-Based Middleware
5 mins
Add a Logout Endpoint
3 mins
Add a Public Axios Instance
4 mins
Create a User Info Endpoint
5 mins
Check if the User is Authenticated
8 mins
Refactor AuthContext
5 mins
Refactor Login and Signup
5 mins
Add a CSRF Token
8 mins
Refactor the API
3 mins
Add a Persistent Session Store
6 mins
Strengthen the Session Cookie
4 mins