KL Eats is an innovative platform designed to streamline campus dining for students and faculty. Our mission is to provide a convenient way to pre-order and book meals from various canteens across our campus.
This project was developed with the invaluable support of KL GLUG (GNU/Linux User Group), showcasing the power of open-source collaboration in creating practical solutions for our campus community.
- Clone the repository:
git clone https://github.com/jashwanth/kleatsv1
- Navigate to the project folder:
cd kleatsv1
- Install dependencies:
npm install
- Start the server:
npm start
npm install
npm install dotenv express body-parser cookie-parser ejs express-fileupload uuid mysql2 nodemailer crypto @supabase/supabase-js path express-session https fs http qrcode axios bcrypt web-push firebase-admin helmet
npm install -g semver
ℹ️ Need environment variables? Contact @varun28sharma.
Create a .env
file and add the following:
PORT=3000
SUPABASE_URL=https://your-supabase-url.supabase.co
SUPABASE_KEY=your-supabase-key
# Web Push configuration
VAPID_PUBLIC_KEY=your-public-key
VAPID_PRIVATE_KEY=your-private-key
# Temporarily disable email configuration for testing
ENABLE_EMAIL=false
# Set environment mode
NODE_ENV=development
const webpush = require('web-push');
const vapidKeys = {
publicKey: process.env.VAPID_PUBLIC_KEY,
privateKey: process.env.VAPID_PRIVATE_KEY,
};
webpush.setVapidDetails(
'mailto:your-email@example.com', // Replace with your email
vapidKeys.publicKey,
vapidKeys.privateKey
);
We welcome contributions from the community! Feel free to submit pull requests, report bugs, and suggest new features.
Join our community group : https://t.me/+X0n_azyktiVmMzI0
This project is licensed under the GNU General Public License (GPL)
⭐ Star this repository if you found it useful! 🚀