Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
🥦🌍 **Food Waste Tracking System (Enhanced Version)** helps schools and organizations track, analyze, and reduce food waste through data-driven insights. 📊♻️ Features include waste tracking, analytics dashboards, reporting tools, secure cloud storage ☁️🔒, and sustainability metrics 🌱. Built as a CS Capstone project 🎓💻.
Saved setup from 6 h ago
Will it work on Linux?
Heads-upIt also needs MongoDB and 4 settings in .env (1 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/Samkwibe/CS-499_PROJECT_Capstone.git cd CS-499_PROJECT_Capstone
Node.js >=18.0.0
# needs nvm: https://github.com/nvm-sh/nvm nvm install --lts
Needs: MongoDB (no compose file — install locally or run via Docker)
npm ci
npm run dev
cd snhu-foodwaste-backend
cp .env.example .env
# Edit .env: set MONGODB_URI and JWT_SECRET
npm install
npm test
npm start
The API and frontend are served together (static files from public/). Default port is 5002 if set in .env, otherwise 5001.
Visit http://localhost:5002 (or your PORT), then:
/api/auth/register, /api/auth/login)staff or admin)cd snhu-foodwaste-backend
npm test # Jest + Supertest
npm run lint # ESLint (optional)
No reports for Linux yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.