/dashboard-api

Primary LanguageJavaScript

Node.js Express API with JWT and Refresh Tokens

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.

Getting Started

To get started with this API, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the required dependencies by running npm install.
  3. Create a .env file in the root directory of the project and add your environment variables: