A web application for managing college mess food services, providing students with an interface to provide feedback, make suggestions, and access mess-related information.
- React (built with Vite)
- React Router Dom for navigation
- Recharts for data visualization
- Tailwind CSS for styling
- Node.js with Express.js
- MySQL database
- Dotenv for environment variables
- CORS for cross-origin resource sharing
- ExcelJS for Excel file generation
- PDFKit for PDF generation
- User authentication (login/register)
- Mess food suggestions system
- Admin dashboard for management
- Feedback collection and analysis
- Mess menu display
- Report generation (PDF and Excel)
- Node.js (v16 or higher)
- MySQL (v8.0 or higher)
- npm or yarn
git clone https://github.com/AWESOMEACOUSTIC/Mess-Food.git
cd MessFood- Install MySQL if not already installed
- Create a database named
backend - Import the SQL schema from
Backend/sql.sql
cd Backend
npm installIf you need to install backend dependencies one by one:
npm install express
npm install cors
npm install dotenv
npm install mysql2
npm install exceljs
npm install pdfkitCreate a .env file in the Backend directory with the following content:
DB_HOST=localhost
DB_USER=your_mysql_username
DB_PASSWORD=your_mysql_password
DB_NAME=backend
PORT=3000
cd ../Frontend
npm installIf you need to install frontend dependencies one by one:
npm install react
npm install react-dom
npm install react-router-dom
npm install react-toastify
npm install recharts
npm install tailwindcss
npm install @vitejs/plugin-react
npm install eslint
npm install eslint-plugin-react-hooks
npm install eslint-plugin-react-refreshCreate a .env file in the Frontend directory with the following content:
VITE_API_URL=http://localhost:3000
cd Backend
node server.jscd Frontend
npm run devThe application will be available at http://localhost:5173 (or the port specified by Vite).
cd Frontend
npm run buildThis will generate optimized production files in the dist directory.
ISC