To install Application.
This is a Django Application that uses Clean Architecture. Other Samples made in Golang here: https://github.com/eddwinpaz/svc-customer :)
The only thing needed to make it work is to bash onto Web Container and migrate models.
- Celery
- Celery Beat
- Redis
- Flower
- Django (Container A.K.A Web Container)
- Just made Unit testing for user module
- You need to bash web container to run this command:
./manage.py test --pattern="tests_*.py"
-
Application has my own personal Webhook Slack URL - change it to yours
-
Aplication Whatsapp Broadcast are part of Twilio's SaaS so you need to provide your own TWILIO ACCOUNT SID AND AUTH TOKEN to make it work.
Please type following command: (Right off the bat it works...)
docker-compose build && docker-compose up -d
then enter the docker container and type following command:
python manage.py makemigrations && python manage.py migrate
login create:
http://localhost:7000/user/create/
login user:
http://localhost:7000/user/login
logout user:
http://localhost:7000/user/logout/
see today's menu
http://localhost:7000/menu/today/
create order based on menu item
http://localhost:7000/order/create/1
see single menu item details
see all orders:
see all users:
create menu item
http://localhost:7000/menu/create
list all menu items
http://localhost:7000/menu/list
delete menu item
http://localhost:7000/menu/delete/1
update menu item
http://localhost:7000/menu/update/1
send slack notifications
http://localhost:7000/menu/slack-broadcast
whatsapp notifiations