Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 643 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 643 Bytes

Car Shop

API with a simple CRUD for handling cars. I follow the concepts of SOLID, OOP and using generics for reuse.


Startup

  1. Clone the repository.

  2. Install dependencies:

    • npm install
  3. Run the project:

    • npm run dev

Endpoints Summary

The default url for accessing endpoints is: http://localhost:3001

  • Return all cars: GET /cars

  • Return a car: GET /cars/{id}

  • Create a car: POST /cars

  • Update a car: PUT /cars/{id}

  • Delete a car: DELETE /cars/{id}

Technologies

  • Typescript
  • NodeJS
  • MongoDB
  • Jest
  • Mocha/Chai/Sinon