Serve Sync is a web application designed to streamline restaurant operations by organizing the workflow between waiters, chefs, and administrators.
-
Authentication System
- User registration and login
- Admin can assign roles to registered users
- Newly registered users have
Role = nulluntil an Admin assigns one
-
User Roles
- Admin
- Full access: Tables, Menu, Orders, Users
- Assign roles, manage all data
- Waiter
- Access: Tables, Menu
- Add/delete tables and menu items
- Take guest orders and send to kitchen
- Edit orders until chef starts preparing them
- Chef
- Access: Orders, Menu
- Update order status (In Progress / Ready)
- Manage menu items
- Admin
Admins and waiters can create and delete tables.
- Waiter selects a table β clicks Order
- Menu items are loaded from DB
- Waiter adds items to the order
- Order is sent to kitchen
- Chef marks order as In Progress
- Waiter can no longer edit the order
- Chef marks order as Ready
- Waiter sees it's ready β delivers food
- After delivery β Waiter clicks Order Finished β order is removed
- Backend: .NET 8 & Entity Framework Core
- Frontend: React
- Database: PostgreSQL
- Auth: JWT Tokens
- .NET 8 SDK or later
- Node.js
- PostgreSQL Server
git clone https://github.com/strelec00/serve-sync
cd serve-sync- Navigate to backend
cd backend/- Configure DB Connection In appsetting.json, replace your_username and your_password with valid SQL Server credentials. Set Port if needed.
{
"ConnectionStrings": { "DefaultConnection":"Host=localhost;Port=$5432;Database=ServeSync;Username=your_username;Password=your_password"
}
}- Install Entity Framework Tools (If not already installed)
dotnet tool install --global dotnet-ef- Apply Migrations and Seed the Database
dotnet ef database update- Run the Backend Backend should run on Port: 5123
dotnet run- Navigate to Frontend
cd ../frontend- Install Dependencies
npm install- Run the Frontend
npm run dev| Role | Username | Password |
|---|---|---|
| Admin | adminuser | adminpass |
| Chef | chefuser | chefpass |
| Waiter | waiteruser | waiterpass |
| Waiter | jan | strelec |