Giter VIP home page Giter VIP logo

backend-test-paz's Introduction

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)

Unit testing

  • Just made Unit testing for user module
  • You need to bash web container to run this command:
./manage.py test --pattern="tests_*.py"

NOTES:

  • 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

Normal user URLS

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

http://localhost:7000/menu/1

Admin user URLS

see all orders:

http://localhost:7000/order/

see all users:

http://localhost:7000/user/

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

http://localhost:7000/menu/whatsapp-broadcast

backend-test-paz's People

Contributors

eddwinpaz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.