Skip to content

YungBenn/My-CarsAPI-Typescript

Repository files navigation

My-CarsAPI-Typescript

A Car API with authentication

Features

User

  • Register
  • Login
  • Refresh Session

Cars

  • Get Cars
  • Get Cars by specify data
  • Get Car By Id
  • Edit Car By Id
  • Delete Car By Id

Tech Stack

Language: Typescript

Server: Node, Express

Database: MongoDB

Authentication: JWT

Run Locally

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

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT

MONGODB_URI

PUBLIC_KEY

PRIVATE_KEY

About

Typescript REST API with JWT user auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published