Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

caioaraujo/bakery_payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bakery_payments

This Django API project uses django-rest-framework and django rest swagger.

After checkout the project, choose a virtual env or your system enviroment and install the requirements libraries in requirements.txt (root folder). After, run "python manage.py makemigrations" then "python manage.py migrate" from a terminal in project's root folder to migrate models into a SQLite database. Then, run "python manage.py runserver" to start a local webserver.

You will be able to interact with the endpoints inside of Swagger documentation. If you are running locally, please access http://localhost:"your port"/docs and start using the API.

To run the test suit, run "python manage.py test".

Allowed endpoints:
/docs (GET)
/branches (POST)
/payments (GET,POST,PUT,DELETE)
/payments/pay (POST)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages