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.
My UI templates can be found here: UI
My Pivotal Tracker board can be found here
My API documentation can be found here
My Heroku Link can be found here
- User can sign up.
- User can sign in.
- 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.
- User can reset password.
- User can view all cars of a specific body type.
- User can flag/report a car sale advertisement.
- User can view all used unsold cars.
- User can view all new unsold cars.
- User can view all unsold cars of a specific make (manufacturer).
- User can view his Ads history.
- Node.js must be installed
-
Clone this repository
https://github.com/King-Success/Auto-Mart.git
-
Run
npm install
on the root directory to install all the application's dependencies -
Set the following environment variables in your
.env
file:-
PORT
- A random number on which the application is going to listen on. -
SECRET
- A random string for generating auth tokens. -
DB_URL
- A database URL provided by Elephant. -
MAIL_HOST
- A mail host e.g Gmail - smtp.gmail.com. -
MAIL_PORT
- A mail port e.g Gmail - 465. -
MAIL_ENCRYPTION
- Should be set to true or false -
MAIL_USERNAME
- Your email username -
MAIL_PASSWORD
- Your email password
-
- Run
npm test
- README Format - Billie Thompson.