This is a RESTful API for user authentication developed using NestJS.
This API provides user authentication functionalities, including user registration, login, protected routes, and user logout. It is built using NestJS, a powerful Node.js framework.
- User Registration
- User Login
- Protected Routes
- User Logout
- Node.js
- Yarn or npm
- postgres and pgAdmin
-
Clone the repository:
git clone https://github.com/Mehdi-Khouna/Task.git
-
Navigate to the project folder:
cd task
-
Install dependencies:
yarn install
-
Create a
.env
file based on the provided.env.example
and configure the environment variables. -
Run the application:
yarn start
-
Access the API at
http://localhost:3000/api
.