W6 Midterm project: Buy & Sell
Contributors: Edward Lee & Tai Delisle
Lighthouse Labs Cohort: Nov14 TELUS
- An app where you can put different types of things up for sale.
- You can pick a specific niche of items to sell for the app (a cars site, a shoes site, etc).
- This lets buyers find the items they are looking for quickly, and easily contact sellers.
- Users can see featured items on the homepage
- Users can filter items by price
- Users can add items to a favourites list
- Users can send messages to a seller
- Sellers can post items
- Sellers can remove items from the site
- Sellers can mark items as sold
- Sellers can reply to messages sent to them
Freedom Auto Market is a buy/sell platform for the private sale of cars, catered towards quality vehicles, including luxury brands.
- Login/user registration functionality was not implemented.
- To focus on the development of the site, ten user accounts were created in the database.
- Access these accounts through the login URL:
/login/#where # is a userId between 1 and 10
- 'Sent to phone/email' links are not currently functional
Files related to planning (ERD, wireframe, working log) can be found in the planning directory.
- Download or clone this repo
- Set up a local database on your machine called
midtermand ensure there is a user role/pass oflabber - Create a
.envfile in the main directory with the following local information
DB_HOST=localhost
DB_USER=labber
DB_PASS=labber
DB_NAME=midterm
DB_PORT=5432- Install dependencies:
npm i - Fix to binaries for sass:
npm rebuild node-sass - Reset the database:
npm run db:reset - Run the server:
npm run local - Visit
http://localhost:8080/
- Login/user registration functionality was not implemented. To focus on the development of the site, ten user accounts were created in the database.
- Access these accounts through the login URL:
/login/#where # is a userId between 1 and 10
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Chaulk
- Cookie parser
- dotenv
- ejs
- Morgan
- SASS
- Nodemon (for development)










