(The report for this prototype can be located in PrototypeReport.pdf)
This project is a prototype based on the shared grocery delivery service for Students Smart Hub. It’s a web service made with React for frontend ,styled with bootstrap and express for backend built on Vite. Users are able to browse and filter through a catalog of products from their chosen market, Add these items to a cart for a shared order, pay for each item they added and checkout the order once each person has paid via the PayPal payment gateway. By sharing orders, expenses on deliveries are saved. The finalized app has been deployed via Github Pages.
- Introduction
- Features
- Technologies Used
- Setup and Installation
- Running the Application
- Dockerization
- Order Management: Create, view, and manage grocery orders.
- Item Management: Browse and manage grocery items.
- Checkout: Calculate and display the total cost for each user in a household.
- Shared Costs: Distribute the cost of groceries among household members.
- Frontend: React, Vite, Bootstrap, React Icons
- Backend: Node.js, Express, Body-Parser, CORS
- Database: JSON files (for prototype purposes)
- Version Control: Github
- Testing: Jest
- Build Automation tool: Vite
- Dependency Management: Package lock JSON
- Continuous Integration & Deployment: GIthub Actions
- Containerization: Docker, Docker Compose
- Node.js (v18 or higher)
- Docker (for containerization)
-
Clone the repository:
git clone https://github.com/Tee-UX19/sepp-prototype.git cd sepp-prototype -
Install dependencies
npm install cd backend npm install cd ..
-
start the backend server:
cd backend npm start -
start the frontend server:
cd .. npm run dev -
Access the application Open your browser and head to the address: http://localhost:5173.
-
Build and start containers:
docker-compose up --build #access app via localhost -
Stop containers
docker-compose down