{"id":27615664,"url":"https://github.com/neuraladitya/snackstack","last_synced_at":"2026-04-13T04:05:26.553Z","repository":{"id":289338132,"uuid":"970920683","full_name":"NeuralAditya/SnackStack","owner":"NeuralAditya","description":"🍔 Campus meal ordering \u0026 management platform – built with React, Node.js, PostgreSQL, and Docker. Powering efficient food systems for institutions.","archived":false,"fork":false,"pushed_at":"2025-04-22T19:33:04.000Z","size":3605,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T03:57:12.750Z","etag":null,"topics":["campus","canteen","docker","drizzle-orm","express","food-tech","fullstack","meal-ordering","nodejs","paas","passportjs","postgresql","react","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://snackstack.onrender.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeuralAditya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license/LICENSE-AGPLv3.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T18:29:41.000Z","updated_at":"2025-04-22T19:36:10.000Z","dependencies_parsed_at":"2025-04-22T19:46:25.897Z","dependency_job_id":"13ff6cb4-4f74-4250-9644-f57215c049db","html_url":"https://github.com/NeuralAditya/SnackStack","commit_stats":null,"previous_names":["neuraladitya/snackstack"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralAditya%2FSnackStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralAditya%2FSnackStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralAditya%2FSnackStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralAditya%2FSnackStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeuralAditya","download_url":"https://codeload.github.com/NeuralAditya/SnackStack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366716,"owners_count":21418769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["campus","canteen","docker","drizzle-orm","express","food-tech","fullstack","meal-ordering","nodejs","paas","passportjs","postgresql","react","tailwindcss","vite"],"created_at":"2025-04-23T03:57:16.145Z","updated_at":"2026-04-13T04:05:26.513Z","avatar_url":"https://github.com/NeuralAditya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/logo.png\" alt=\"SnackStack Logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\n# 🍔 SnackStack - Campus Meal Ordering \u0026 Management System\n\n[![AGPLv3 License](https://img.shields.io/badge/License-AGPLv3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0.en.html)\n[![Commercial License](https://img.shields.io/badge/License-Commercial-lightgrey.svg)](LICENSE-COMMERCIAL.txt)\n[![SnackStack](https://img.shields.io/badge/-SnackStack-2ECC71?style=flat-square)](https://github.com/NeuralAditya/SnackStack)\n[![Contributors](https://img.shields.io/github/contributors/NeuralAditya/SnackStack)](https://github.com/NeuralAditya/SnackStack/graphs/contributors)\n[![Issues](https://img.shields.io/github/issues/NeuralAditya/SnackStack)](https://github.com/NeuralAditya/SnackStack/issues)\n[![Last Commit](https://img.shields.io/github/last-commit/NeuralAditya/SnackStack)](https://github.com/NeuralAditya/SnackStack/commits/main)\n\n\u003cp align=\"left\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Frontend-React-blue?logo=react\" alt=\"React\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Build-Vite-646CFF?logo=vite\" alt=\"Vite\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Style-Tailwind_CSS-38B2AC?logo=tailwind-css\" alt=\"Tailwind CSS\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Backend-Node.js-339933?logo=node.js\" alt=\"Node.js\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Framework-Express.js-000000?logo=express\" alt=\"Express.js\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Database-PostgreSQL-4169E1?logo=postgresql\" alt=\"PostgreSQL\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/ORM-Drizzle%20ORM-6C3483\" alt=\"Drizzle ORM\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Auth-Passport.js-34E27A?logo=passport\" alt=\"Passport.js\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Payments-Points%20System-orange\" alt=\"Points Based System\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Deployment-Docker-blue?logo=docker\" alt=\"Docker\"/\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Hosting-Heroku%2FAWS%2FDigitalOcean-430098\" alt=\"Heroku / AWS / DigitalOcean\"/\u003e \n\u003c/p\u003e\n\n🍽️ SnackStack is a campus meal ordering system and management platform, built as a **Platform as a Service (PaaS)**. It aims to streamline the process of ordering food in college campuses by providing students and staff with a seamless experience from browsing menu items to managing their orders, all while enabling campus meal providers to efficiently manage their offerings and track sales.\n\n## 🚀 Features\n\n- 💳 **Points System**: Operate on a points-based system; points can be easily purchased at your nearest canteen.\n- 🧑‍🎓 **Student Ordering**: Browse available meals, add items to the cart, and place orders.\n- 🧑‍🍳 **Meal Providers Dashboard**: Manage meals, pricing, and availability in real-time.\n- 📦 **Order Management**: Track order status, cancel, and update orders.\n- 💰 **Payment Integration**: Can be integrated with PalmPay/UPI, etc.\n- 🛡️ **Admin Control**: Monitor system-wide usage, manage users, and analyze sales data.\n- 🔔 **Real-time Notifications**: Get updates on meal availability, order status, and more.\n\n## 📸 Screenshots\n\n![Home Page](docs/screenshots/home.png)\n\n![Order Page](docs/screenshots/order.png)\n\n## 🧰 Tech Stack\n\n- **Frontend**: React, Vite, Tailwind CSS\n- **Backend**: Node.js, Express.js\n- **Database**: PostgreSQL (with Drizzle ORM)\n- **Authentication**: Passport.js (Local Strategy)\n- **Payment Gateway**: Points Based System for now\n- **Deployment**: Docker, Heroku / AWS / DigitalOcean (depending on preference)\n\n## 🛠️ Setup \u0026 Installation\n\n### ✅ Prerequisites\n\nEnsure you have the following installed:\n\n- [Node.js](https://nodejs.org/) (v16 or later)\n- [npm](https://npmjs.com/) (comes with Node.js)\n- [PostgreSQL](https://www.postgresql.org/) (or any supported database)\n- [Docker](https://www.docker.com/) (for containerization, if preferred)\n\n### 🧪 Steps to Run the Project Locally\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/NeuralAditya/SnackStack.git\n   cd SnackStack\n   ```\n\n2. **Install dependencies:**\n   - For backend:\n     ```bash\n     cd server\n     npm install\n     ```\n   - For frontend:\n     ```bash\n     cd client\n     npm install\n     ```\n\n3. **Set up environment variables:**\n   - Create `.env` files for both client and server, and add the required configurations like database credentials, JWT secret, etc.\n\n4. **Start the backend server:**\n   ```bash\n   npm run dev\n   ```\n\n5. **Start the frontend server (in a separate terminal window):**\n   ```bash\n   npm run dev\n   ```\n\n6. **Navigate to `http://localhost:5000` to access the application.**\n\n### 🗃️ Database Setup\n\nEnsure you have PostgreSQL running locally or use a cloud service like [Heroku Postgres](https://www.heroku.com/postgres).\n\nRun the migrations to set up the database schema:\n\n```bash\nnpm run db:push\n```\n\n## 🤝 Contributing\n\nWe welcome contributions! If you'd like to help out, please follow the steps below:\n\n1. Fork the repository.\n2. Create a new branch for your feature or fix:\n   ```bash\n   git checkout -b feature/my-new-feature\n   ```\n3. Make your changes.\n4. Commit your changes:\n   ```bash\n   git commit -m \"Add my new feature\"\n   ```\n5. Push your branch:\n   ```bash\n   git push origin feature/my-new-feature\n   ```\n6. Open a pull request to the `main` branch.\n\nPlease ensure your code passes the tests and follows our coding standards before submitting a pull request.\n\n## 📄 License\n\nThis project is **dual-licensed**:\n\n- **GNU Affero General Public License v3.0 (AGPLv3)** – Open source under AGPLv3; see [LICENSE-AGPLv3.txt](license/LICENSE-AGPLv3.txt)\n- **Commercial License** – For commercial use and proprietary licensing, see [LICENSE-COMMERCIAL.txt](license/LICENSE-COMMERCIAL.txt)\n\n## 👥 Contributors\n\n- **Aditya Arora** - [GitHub Link](https://github.com/NeuralAditya)\n- **Brijesh Gupta** - [Email For Commercial Use](mailto:brijesh.ml.ai@gmail.com)\n- **Nikhil Gupta** - [Contributor \u0026 Liason](mailto:nikhilghosh898@gmail.com)\n\n---\n\nMade with ❤️ by the SnackStack team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuraladitya%2Fsnackstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuraladitya%2Fsnackstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuraladitya%2Fsnackstack/lists"}