Skip to content

TypeScript, Node, MongoDB, Jest, Swagger // A demo backend for managing information about cars. Supports user authentication and CRUD operations upon the car database for authorized users.

License

Notifications You must be signed in to change notification settings

gogent01/cars-db-api

Repository files navigation

cars-db-api

A simple database API for managing information about various cars. Supports user authentication and CRUD operations upon the car database for authorized users.

How to install

# 1. Install the required packages
npm install

# 2. Run tests
npm test

# 3. Start the application
npm start

Routes

All cars routes require auth token from /user/auth route. Default user credentials are user@example.com and P4ssword!.

Detailed information on API routes is located in openapi specs.

POST /api/v1/user/auth

POST /api/v1/cars
GET /api/v1/cars
PUT /api/v1/cars/:carId
DELETE /api/v1/cars/:carId

About

TypeScript, Node, MongoDB, Jest, Swagger // A demo backend for managing information about cars. Supports user authentication and CRUD operations upon the car database for authorized users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published