Office Lunch Menu Management System
- Backend: Node.js, Express.js
- Frontend: React.js
- Database: PostgreSQL
- Admin Interface:
- Add Daily Menu Options
- View Employee Choices
- Employee Interface:
- View Daily Menu
- Select Lunch Choice
- Menu:
id
: Integer, Primary Key
date
: Date
name
: String
description
: String
- Employee:
id
: Integer, Primary Key
name
: String
- LunchChoice:
id
: Integer, Primary Key
menuId
: Integer, Foreign Key
employeeId
: Integer, Foreign Key
- Install dependencies:
npm install
- Run migrations:
npx sequelize-cli db:migrate
- Start the server:
npm run start
- Install dependencies:
npm install
- Start the development server:
npm start
Instructions to Run the Project
- Ensure PostgreSQL is running and the database is set up.
- Start the backend server.
- Start the frontend server.
- Open
http://localhost:3000
in your browser.