A Django-based Book API project with a dedicated API app, traditional Django setup, and integration of Django Rest Framework (DRF).
The Book API project is designed to provide a flexible and extensible solution for managing and retrieving information about books. It uses Django for the backend, Django Rest Framework for the API, and includes a traditional Django setup with templates.
- Dedicated API app (
api
) for managing book-related functionality. - Traditional Django setup with models, views, and templates.
- Integration of Django Rest Framework (DRF) for building the API.
Make sure you have Python, Pipenv, and Django installed on your machine.
# Example installation commands
pip install pipenv
pipenv install
-
Clone the repository.
git clone https://github.com/bagoviggo/Books_api.git cd Books_api
-
Install dependencies.
pipenv install
-
Apply migrations.
pipenv run python manage.py migrate
-
Run the development server.
pipenv run python manage.py runserver
Access the Django admin interface at http://127.0.0.1:8000/admin/ to manage books. The API is available at http://127.0.0.1:8000/api/.
/api/books/
: List and create books./api/books/<book_id>/
: Retrieve, update, or delete a specific book.
This project is licensed under the [MIT LICENSE] - see the LICENSE.md file for details.