Skip to content

arezoo88/GoodReads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoodReads App Project

The goal of the project is to design and implement the APIs of a website where users can access the books they read, Record their points and comments (simplified version of GoodReads).

Table of Contents

Features

  • Register and login
  • Get list of books
  • Get Details of books
  • Comment and rate to each book
  • Bookmark books

Requirements

  • Docker
  • Docker Compose

Installation

  1. Clone the repository:

    git clone git@github.com:arezoo88/GoodReads.git
    cd source
  2. Create a .env file:

    touch .env in source folder

    Add the content of .env-sample into your .env file in source folder:

  3. Build and start the Docker containers:

    docker-compose up --build
  4. Load data for testing project:

    docker-compose exec web bash -c "cd /home/app/source && python manage.py initdata && python manage.py loaddata apps/book/fixtures/books.json && python manage.py loaddata apps/book/fixtures/ratingcomments.json"
  5. Create superuser:

    docker-compose exec web bash -c "cd /home/app/source && python manage.py createsuperuser"

Running the Project

  1. Start the Docker containers:

    docker-compose up -d
  2. Access the application:

    • Swagger UI: http://127.0.0.1:8000/swagger/
    • Admin: http://127.0.0.1:8000/admin/

API Documentation

Access the Swagger UI at http://127.0.0.1:8000/swagger/ for interactive API documentation.

help : You can run login api in swagger then copy access token and paste in Authorize part . (now you are authorized!)

Postman Collection

Click to Download Postman Collection

Admin Panel SCREEN

Admin Panel SCREEN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages