Skip to content

peakodev/photo_share

Repository files navigation

PhotoShare

Description

The project is structured as follows:

  • app/: fastapi project folder
  • bin/: additional scripts
  • app/conf/config.py: class with ability to get .env variables using pydantic_settings
  • app/models/: folder with db connections and models
  • app/routes/: folder with routes like posts, auth, comments
  • app/repository/: folder with repositories scripts lilke posts, comments, tags
  • app/schemas/: folder with pydentic schemas
  • src/services/: folder with services (email, auth, qrcode_gen, cloudinary)
  • main.py: fastapi entrypoint
  • tests/: folder with tests
  • bin/cleanup.sh: Cleaned up pycache directories and .pyc files.

Running the application in Docker

Run docker compose

docker-compose up -d

Rebuild poetry libs

docker-compose up --build

Tests

@TODO: will run in container

docker-compose run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors