Auto Mart is an online market place 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
- Coveralls
- Travis CI
- NodeJs
- Express
- ESLint
- Babel
- Mocha
- Chai
- Postgres SQL
- User can sign up.
- User can login.
- 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.
Before running the project, install the following
- Node JS
- Git
- git clone https://github.com/EziamakaNV/AutoMart.git
- cd AutoMart
- npm install
- npm start
- npm test
https://www.pivotaltracker.com/n/projects/2345861
https://eziamakanv.github.io/AutoMartFrontEnd
https://github.com/EziamakaNV/AutoMartFrontEnd
https://eziamakanv.github.io/AutoMart
https://automobile-mart.herokuapp.com/api/v1/docs
POST 'https://automobile-mart.herokuapp.com/api/v1/auth/signup' - Create a user account
POST 'https://automobile-mart.herokuapp.com/api/v1/auth/signin' - Login a user
GET 'https://automobile-mart.herokuapp.com/api/v1/car' - View all car ads whether sold or available (Admins only)
POST 'https://automobile-mart.herokuapp.com/api/v1/car' - Create new car ads
PATCH 'https://automobile-mart.herokuapp.com/api/v1/car/{car_id}/status' - Update the status of a car ad
PATCH 'https://automobile-mart.herokuapp.com/api/v1/car/{car_id}/price' - Update the price of a car ad
GET 'https://automobile-mart.herokuapp.com/api/v1/car/{car_id} - View a specific car ad
DELETE 'https://automobile-mart.herokuapp.com/api/v1/car/{car_id} - Delete a specific car ad
GET 'https://automobile-mart.herokuapp.com/api/v1/car?status=available - View all unsold cars
GET 'https://automobile-mart.herokuapp.com/api/v1/car?status=available&min_price={minPrice}&max_price={maxPrice} - View unsold cars within a price range
POST 'https://automobile-mart.herokuapp.com/api/v1/order' - Create new purchase orders
PATCH 'https://automobile-mart.herokuapp.com/api/v1/order/{orderId}/price - Update the price of a purchase order
Nnaemeka Valentine Eziamaka