Auto Mart is an online marketplace for automobiles of diverse makes, model or body type. With Auto Mart, users can sell their cars or buy from trusted dealerships or private sellers
The project and user features where created using a tool called Pivotal Tracker and the dashboard can be accessed via Automart Pivotal Tracker
For development, you will only need Node.js and a node global package, npm, installed in your environement
-
Just go on official Node.js website and download the installer. Also, be sure to have
git
available in your PATH,npm
might need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
-
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command.
$ node --version
v8.11.3
$ npm --version
6.1.0
If you need to update npm
, you can make it using npm
! Cool right? After running the following command, just open again the command line and be happy.
$ npm install npm -g
$ git clone https://github.com/willywax/Automart-Api
$ cd Automart-Api
$ npm install --save
The Application has no special configuration needed. App has been intergrated with
- Travis For project build
- Coveralls For Test Coverage
- CodeClimate To review Code Quality
- Pivotal Tracker For Project Planning
`nodemon index.js` or `npm start `
`npm run test` or `npm run coverage` to get Coverage report
The API Endpoints have been successfully hosted on Heroku and can be accessed using the link below. Automart API
The detailed documentation showing every route, input parameters and resulted output has been hosted on PostMan API Documenter. And can be accessed using Automart-API Documentation
User (seller) can post a car sale advertisement.
- User (buyer) can make a purchase order.
- User (buyer) can update the price of his/her purchase order.
- User (seller) can mark his/her posted AD as sold.
- User (seller) can update the price of his/her posted AD.
- User can view a specific car.
- User can view all unsold cars.
- User can view all unsold cars within a price range.
- Admin can delete a posted AD record.
- Admin can view all posted ads whether sold or unsold.
Optional Features
- User can reset password.
- User can add multiple pictures to a posted ad.
- User can view all cars of a specific body type.
- User can view all used unsold cars.
- User can view all new unsold cars.
- User can flag/report a posted AD as fraudulent.
- User can view all unsold cards of a specific make (manufacturer)
Detailed Endpoints can are hosted in POST MAN and can be accessed via PostMan AutoMart-API