Skip to content

An online fruit & vegetable grocery ordering app.

Notifications You must be signed in to change notification settings

Wojtek130/E-CommerceApp

Repository files navigation

Mr. Broccoli - E-Commerce app

The idea of the project:

Mr. Broccoli is an online fruit & vegetables grocery ordering app. Made as a final project for the WEPPO (Chosen elements of practical software development) course.
The primary implementation uses Postgres Database to store the data, React for frontend and Express.js for backend.

Application allows you to:

Without account:

  1. Browse through products: search by name or tags
  2. Add products to cart
  3. See what is in the cart
  4. Delete products from cart or change their weight
  5. Registrate

With account:
All of the above +

  1. Log in
  2. Order products
  3. See admin panel (with the right permissions)

image image image image image

Install dependencies:

First, install Postgres
For Linux: sudo apt install postgresql
Then write

sudo service postgresql start sudo passwd postgres sudo -u postgres psql CREATE DATABASE shopdb

For Windows: manual installation here
After that please create shopdb database manually.

Then, install all other packages:
Run this command npm install in the project root directory as well as in /greengrocers.

Start the app:

npm start in /greengrocers to start frontend server and
npm start in / to start backend