Skip to content

pferrariog/stores-api

Repository files navigation

MarketPlace API

Created to simulate a marketplace where an user can register yourself and your stores w/ their own products based on department tags

Requirements

  • Python 3.10+
  • Docker 23.0+

Usage

  • Create configuration files

    • This project uses Dynaconf as management tool/library, so checkout their documentation for more details
    • settings.toml - Here goes project configuration
    • .secrets.toml - Here goes enviroment secrets
    • .env - Here goes your flask configurations
  • Build the image and run the container

    docker build -t $IMAGE_NAME .
    docker run -d -p 80:80 --name $CONTAINER_NAME $IMAGE_NAME

TODO

  • Add admin statement to JWT Claims
  • Set blocklist on redis
  • Improve Dockerfile with stages
  • Add Unit Tests
  • Change to docker-compose