Skip to content

gabrieldomene/django-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CRUD for an court case API

How to run

python manage.py makemigrations

python manage.py migrate

python manage.py runserver

The server will be running in 127.0.0.1:8000

API endpoints

  • /api/court/

    • Returns the full list of court decisions saved or used to POST a new object
  • /api/court/int:id

    • Passing the id along the API can either do a PUT or DELETE method in a single object
  • /api/court/personal/int:id_cliente

    • Returns all records to a specific id_cliente
  • /api/court/decision/int:id_cliente

    • Returns the sum of decisions to a specific id_cliente in a 3 options dict

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages