WaiterAPP it's the application for the restaurants owners. Developed to make your life easier and manage your client's orders.
Garçom
means waiter in brazillian portuguese, this app helps you manage just that, install this app in your waiter's phone or just use a QR Code to get your client to install it.
Two apps in one In your kitchen you have a dashboard with all the orders made by the mobile app, handle then as you like. Orders come by default in the WAITING state, then you can assign them to the cooking area or the done area.
The Mobile APP The heart of this application is the mobile, browse through all the available products, filter by category, add to cart and then send your order to the kitchen, then a Chef can only worry about making your food tasty
-
- List all orders from the mobile app.
- See order status.
- Change order status to either cooking or done.
- Cancel/delete orders.
-
- Browse and shop all the available items in the restaurant.
- Filter items by category.
- Select your current table.
- Add items to your cart and get the total price and summary of your order.
- Remove items from your cart
- Send orders to the kitchen to cook.
The project is made with:
This project is fully developed and properly working but it could have some changes:
- Socket IO Implementation
- Expo and React Native best practices
- Awesome design
- Publishing to the application stores
- Creating products and categories via PC dashboard
- Watch status of your order via mobile app
- First step, clone this github repository:
$ git clone https://github.com/lamongabrie/waiter-app.git
- You need a mongoDB instance running your local machine, either install MongoDB community and run it or as i prefer use Docker.
Docker example:
$ docker run -d -p 27017:27017 --name mongo_db_waiterapp mongo
- Now go to the API folder
$ cd /waiter-app/
$ cd /server/
- Seed your freshly made database. As you can imagine, you need products, categories and orders to properly understand the functioning of the app. This seed does just that:
$ seed -u mongodb://127.0.0.1:27017/waiterapp --drop-database ./src/database/seeds/data
you may need to change the mongo url to your device's local db url.
- Please check the mobile and web libs folder, make sure the BASEURL is set to your local IP, so it can connect to the api running in your pc.
$ cd ../
# Mobile
$ cd mobile
# Dashboard web
$ cd web
# Then go to /lib/api.ts
- Now just run the server
$ yarn dev
- Make sure the api is running then is just running the mobile apps
# Mobile
$ cd mobile
$ yarn start
# Dashboard web
$ cd web
$ yarn dev