Welcome to the arc dev challenge solution of Sakander Zirai arc.dev/@SuiOni π
Go to https://ideas-projects.herokuapp.com/api/v1 to see Swagger API Documentation for this project π
Backend is written in Python3 with the FastAPI Framework π
More details: https://www.codementor.io/@codementorx/draft/ixvyx7tvj?utm_swu=4667
- Refactor architecture into python sub packages
- Using SQLAlchemy models
- Using seperate crud logic for easy extensibility
- Using environment variables for enhanced security
- Use real PostgreSQL Database hosted in Heroku
- Host App itself with Heroku => changed api url
- CI/CD: Auto deployment
- Added script for linting and formatting
- DB initialisation scripts
- Using versionised endpoints "api/v1"
- Fixing potential thread unsafe code
βββ Procfile
βββ README.md
βββ app
β βββ api
β β βββ api_v1
β β β βββ api.py
β β β βββ endpoints
β β β βββ auth.py
β β β βββ ideas.py
β β β βββ index.py
β β β βββ users.py
β β βββ deps.py
β βββ core
β β βββ config.py
β β βββ security.py
β βββ crud
β β βββ crud_idea.py
β β βββ crud_user.py
β βββ db
β β βββ base.py
β β βββ base_class.py
β β βββ init_db.py
β β βββ session.py
β βββ initial_data.py
β βββ main.py
β βββ models
β β βββ idea.py
β β βββ user.py
β βββ pre_start.py
β βββ schemas
β β βββ token.py
β β βββ user.py
β βββ utils.py
βββ requirements.txt
βββ scripts
βββ format-imports.sh
βββ format.sh
βββ lint.sh