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.
Without account:
- Browse through products: search by name or tags
- Add products to cart
- See what is in the cart
- Delete products from cart or change their weight
- Registrate
With account:
All of the above +
- Log in
- Order products
- See admin panel (with the right permissions)
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.
npm start
in /greengrocers to start frontend server and
npm start
in / to start backend