This is an example of how to implement refresh tokens in React.
This project is based on the article "How to Integrate Refresh Tokens in React".
- Clone the repository:
git clone git@github.com:zenstok/react-auth-refresh-token-example.git
- Install dependencies:
npm install
- Start the app:
npm run dev
- Start containers in the backend project:
yarn dc up
- Initiate database:
yarn dc-db-init
(once)
If you want to clean the backend project, run command: yarn dc-clean
Contributions are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.
- Author - zenstok
- Twitter - @zenstok
- Blog - https://rabbitbyte.club
- Email - rares.tarabega@yahoo.com