This is the API for vehicle app.
- Node.js >= 10.16.0
- npm >= 6.10.1
1.0.0
Download zip file and extract it latest pre-built release. Or clone the repository and cd into it.
Vehicle-API uses a number of open source projects to work properly:
- Restify - The future of Node.js REST development
- Mongo - The database for modern applications
- Mongoose - Elegant mongodb object modeling for node.js
Install the dependencies and start the server.
Install apidoc globally
npm install apidoc -g
Install the dependencies.
cd vehicle-api
npm install
apidoc -i ./routes/ -o ./apidocs
Enter your configuration in config.js file. (Mongo Database Connection, Port, Environment)
Run the following command to run startup seeds.
npm run-script seeds
Run the following command to start the development server
npm start or node index.js
Once your server is running if you want to see the API Documentation please visit: API Docs
- Write tests
- Add code comments
- Add server validations
- Add real car photos