This is a Django project for managing books, genres, authors, reviews, and user favorites. The project includes endpoints for book management, user authentication, and review handling.
To set up and run this project locally, follow these steps:
First, clone the repository to your local machine, then access the bookproject folder
Ensure you have Python installed, then install the required Python packages:
pip install -r requirements.txt
Create a .env file in the project root directory and add your Django secret key:
SECRET_KEY=your_secret_key_here
Create and apply database migrations:
python manage.py makemigrations
python manage.py migrate
Run the development server:
python manage.py runserver
The project includes Swagger documentation for the API endpoints. You can access it at:
http://127.0.0.1:8000/swagger/