An API to update vehicle data with manufacturer recall number and fetch the updated data
Manufacturer Recall Number API
- POST at /api/recalls - saves the provided vehicle recall data into a MongoDB database instance along with the manufacturer recall number data from the Vehicle Recall Database API
Note: Please provide vehicle recall data in JSON format in the request body (for example: CSCompVehicleRecallStart.json in the root of the project repo)
-
GET at /api/recalls - fetches the previously saved vehicle recall data from the MongoDB database instance
-
GET at /api/recalls/ - fetches vehicle recall data for the provided manufacturer recall number
- Download and Install the latest version of Node.js & npm on you computer.
- Either download the zipped project from GitHub or clone the repo into your local machine. The rest of the steps need to be executed in the Terminal:
- cd into the directory manufacturer-recall-number-api.
- To install all of the dependency packages for the project locally, run:
npm install
- Rename the "test.env" file to ".env" and provide a connection url for a running MongoDB database instance
- To start up the app, execute:
npm start
ornpm run start
ornpm run-script start
If help is needed to understand something in the app or just to provide feedback/suggestion, please send an email to muntasir2165@hotmail.com
Muntasir Biojid - GitHub Profile