Skip to content

asif17r/Django-Rest-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dog API

This is a RESTful API for managing dog and breed data. Users can create, read, update, and delete dog and breed records using HTTP requests.

Installation

git clone https://github.com/asif17r/Django-Rest-Api
cd Django-Rest-Api
pip install -r requirements.txt
python manage.py runserver 

Dog Endpoints

The following endpoints are available for the Dog model:

- GET /api/dogs/: Get a list of all dogs
- POST /api/dogs/: Create a new dog
- GET /api/dogs/<id>/: Get details for a specific dog
- PUT /api/dogs/<id>/: Update a specific dog
- DELETE /api/dogs/<id>/: Delete a specific dog

Breed Endpoints

The following endpoints are available for the Breed model:

- GET /api/breeds/: Get a list of all breeds
- POST /api/breeds/: Create a new breed
- GET /api/breeds/<id>/: Get details for a specific breed
- PUT /api/breeds/<id>/: Update a specific breed
- DELETE /api/breeds/<id>/: Delete a specific breed

Screenshots

This is the default view for this api. image Those are some interesting dog variants. Contact me if you need one. image

Contributions

Contributions to this project are welcome! To contribute, please fork the repository and submit a pull request with your changes. Please include tests for any new functionality you add.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages