This is a Node.js Express API that uses JSON Web Tokens (JWT) for authentication and refresh tokens for token renewal. The API provides endpoints for user registration, login, and protected routes that require authentication.
To get started with this API, follow these steps:
- Clone the repository to your local machine.
- Install the required dependencies by running
npm install
. - Create a
.env
file in the root directory of the project and add your environment variables: