/react-auth-refresh-token-example

This is an example of how to integrate refresh tokens in React. This project is based on the article "How to Integrate Refresh Tokens in React".

Primary LanguageTypeScript

Refresh Tokens in React

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".

Installation

  1. Clone the repository: git clone git@github.com:zenstok/react-auth-refresh-token-example.git
  2. Install dependencies: npm install
  3. Start the app: npm run dev
  4. Start containers in the backend project: yarn dc up
  5. Initiate database: yarn dc-db-init (once)

If you want to clean the backend project, run command: yarn dc-clean

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Stay in touch