A simple playground project, where I explore and experiment with HTTP Cookies.
In my other project I wanted to implement JWT authentication, with Refresh Token stored in HTTP only cookie. However, when I started working on that, I realized that I don't know that much about cookies, not to mention HTTP only cookies 🙊
/client
- simple React app, with visualization of cookies and ability to set them./server
- simple Express server, which allows us to see HTTP only cookies.
# Clone the repository
git clone https://github.com/sitek94/cookies-playground.git
# Install dependencies
cd cookies-playground
npm install
# Start the server
npm run start:server
# Start the client
npm run start:client
The server is listening on port 3333: http://localhost:3333
The app is running on port 3000: http://localhost:3000
Client was bootstrapped with Create React App.