This application contains a small api to manage cars. It includes all CRUD functionality and an endpoint to manage metadata.
-
Clone the repo from github.
-
Install all dependencies with the following:
npm install
-
Import Postman collection into Postman from ./api/postman folder
-
Add a collection variable to the Cars Demo collection, named "id". Leave this blank for now. You will fill it in later.
-
Run the following:
npm run dev
-
Run the POST Car request in Postman and copy the id of the resultant car.
-
Paste the id into the collection variable that you created in Step #4.
-
You should now be able to run all of the other requests in Postman.
- Run the following:
docker-compose up