Skip to content

NickNaskida/BookGiveawayService

Repository files navigation

Book Giveaway Service

Project Note

  • Register endpoint ignores is_active, is_superuser, is_verified fields. That's a FastAPI-Users specification

  • Testing is not fully complete.

  • Test users:

    # Superuser, email verified
    Email: [email protected]
    Password: admin
    
    # Plain users, email verified
    Email: [email protected]
    Password: test1
    
    Email: [email protected]
    Password: test2
    

Project Stack

  • Python 3.10
  • FastAPI
  • PostgreSQL
  • Docker
  • Docker Compose
  • Pytest

Setup

  1. Clone the repository

    git clone https://github.com/NickNaskida/BookGiveawayService.git
    
  2. Navigate to the project root

    cd BookGiveawayService
    
  3. Copy env file in envs directory

    cp envs/example.env envs/.env
    
  4. Run docker compose

    docker-compose up -d --build
    
  5. Enjoy!

    http://localhost:8000
    

License

Project is distributed under MIT License. See LICENSE.txt for more information.