- Place order from the Menu
- Filters and Search are given for ease of access
- User can provide extra instructions (if needed)
- User will be provided with a Table Number and Order ID on placing the order
- Access and Manage orders at all stages
- Manage users and give roles (customer and admin)
- Chef page shows all the relevant orders (placed and being cooked) for the Chef
- Pagination for clutter free viewing of all orders
If docker is installed
> docker compose up --build
NOTE: If you are rebuilding the container then make sure to remove the older volume which are created, otherwise the new files won't be copied into the container
- Install the required Packages
> go mod tidy
-
Use the
.env.sampleto create your.envfile and fill in the required details -
Run the following command to get the DB running
CREATE DATABASE IF NOT EXIST restro_test
Then use the golang migration
> migrate -path database/migrations -database "mysql://user:password@tcp(localhost:3306)/restro_test" up
- Start the server
> go run cmd/main.go
The first user which is created after initialisation is assigned the role super and has admin access and give or revoke admin privilleges for other users