An async code sharing API written in FastAPI. Inspired from the Django file system and and Nest JS.
Note: The application will run fine with all the default configurations that I have added however you are requested to add your own configurations to the application when running it. Also make sure to add .env file and add configurations according to .ev.example file.
- with Docker (recommended)
- without Docker (not recommended)
Clone the project
git clone https://github.com/Neeraj319/codeshare
Go to the project directory
cd codeshare
sudo docker-compose up --build
- Install poetry: https://python-poetry.org/
- Install postgresql database from: https://www.postgresql.org/download/
cd codeshare
install required packages
poetry lock
poetry install
poetry shell
create tables on the database
python3 manage.py create_tables
start the server
uvicorn main:app --reload
python3 manage.py help
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code_of_conduct.md.