Skip to content

Himhith/DjangoRestfulAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DjangoRestfulAPI

Example of Restful Api in Django

about

simple api in Django-rest-framework implemented docker container on heroku For db used native for heroku posgresql setup.

LINKS TO WORKING IMPLEMNTATION:

endpoints:

json query examples:

Post/cars

{
  "make": "Honda",
  "model":"Accord"
}

WRONG Post/cars

{
  "make": "Honda",
  "model":"WrongModel" #cars that are not on  https://vpic.nhtsa.dot.gov/api/ will not be accepted
}

Post/rating

{
  "car_id": 1,
  "rating":"4"
}

BUILD

  1. Clone repository
  2. Build image on your local machine
  3. Run image on your local macchine

About

Example of Restful Api in Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published