Fruit Cart is a bright ecommerce app where customers can browse, favourite, and add delicious fruits to their cart. Admins can mark fruits as sold and choose which fruits to sell
Main Page of Fruits Loading
Popup Window of Active Fruits
Popup Window of Sold Out Fruits
Favourites Page
Shopping Cart Page
Email Send Form To Seller
Main Page of Fruits Loading
Post New Fruits Page
- Browse fruit listings and view detailed information including price, description, and image
- Mark fruit listings as favourite that show up in their favourites page
- Add fruit to their carts
- Click more info to view a popup that shows a second functional add to cart button and email seller button
- Contact the seller via an email form
- Filter fruit by price and date listed
- Post new listings of fruit
- Remove listings of fruit
- Mark fruit as sold two ways: the main page and the more information popup
- Receive emails sent by customers
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x