Skip to content

Hosseinht/bookland

Repository files navigation

DRF Book Api

Django Rest Framework

Bookland is bookstore that is built with Django REST framework

Features

  • Authentication
  • Full text search
  • Add review for books
  • Add books to favorite list
  • Filtering and Pagination
  • Pagination for nested serializer

Technology Stack

Setup

Clone the project

  git [email protected]:Hosseinht/bookland.git && cd bookland

Install dependencies

  pip install -r requirements.txt

Migrate

  python manage.py migrate

Start server

  python manage.py runserver

Setup on Docker

First install the Docker

docker-compose

Build and run the app

docker-compose up -d --build

If you don't want to use docker you need to change the database configuration in settings.py

Endpoints

To see the endpoints go to http://127.0.0.1:8000/swagger/