A Car API with authentication
- Register
- Login
- Refresh Session
- Get Cars
- Get Cars by specify data
- Get Car By Id
- Edit Car By Id
- Delete Car By Id
Language: Typescript
Server: Node, Express
Database: MongoDB
Authentication: JWT
Clone the project
git clone https://github.com/YungBenn/My-CarsAPI-Typescript.git
Go to the project directory
cd my-project
Install dependencies
npm i
Start the server
npm run start
To run this project, you will need to add the following environment variables to your .env file
PORT
MONGODB_URI
PUBLIC_KEY
PRIVATE_KEY