A gamified web application connecting people to reduce food wastage by sharing excess food, and providing a platform for inventory management
Email: demo@gmail.com
Password: P@ssw0rd
- Users can scan supermarket receipts to add items into their food inventory.
- Users can search for recipes based on the ingredients they have in their inventory
- A community sharing page for users to list/get free food items from the community
- They can complete missions to reduce food waste and win vouchers
Deployed to cloud: http://sayless.space
Client Git Repo: https://github.com/SMU-IS/SayLess.git
Server Git Repo: https://github.com/SMU-IS/SayLess-Server.git
NPM Version - 9.8.0
Node Version - v20.5.1
-
Clone the project
git clone https://github.com/SMU-IS/SayLess.git -
Install dependencies
npm ci -
Update environment variables
- Create
.env.localat the project root folder - Add in the these lines of code
- Create
-
To run the project, enter the command
npm run dev -
Project running on
localhost:5173(default)
Server is currently deployed on AWS EC2 Server
54.252.152.169
-
Clone the project
git clone https://github.com/SMU-IS/SayLess-Server.git -
Install dependencies
npm install -
Update environment variables
- Create
.envat the project root folder - Add in the these lines of code
- Create
-
Run the project Locally
nodemon index.jsor Run the project in Deployment
- Install PM2 globally
npm install pm2 -g - Create config file
eco.config.jsmodule.exports = { apps: [ { name: "wasteless-kitchen", script: "index.js", // Replace with the entry point of your Node.js app watch: true, // Auto-restart the app on file changes (optional) "node_args": "--max_old_space_size=512", env: { NODE_ENV: "production", // Set the environment variable (optional) // PORT: 3000, // Set your application's port (optional) } } ]}; - Run Server in deployment
> pm2 eco.config.js
- Install PM2 globally
-
Project running on
localhost:3000(default) -
Refer to API documentation
https://documenter.getpostman.com/view/23431593/2s9YJgU1Pv#75b2c1a7-e22b-4c3b-8c21-35789a3b7665