View Code? Open in Web Editor
NEW
FastAPI + ODMantic example
Shell 2.13%
Python 97.87%
fastapi-odmantic-realworld-example's Introduction
FastAPI + ODMantic codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
- Install Docker (necessary to run a local MongoDB instance)
- Make sure Python 3.10 is available on your system
- Install poetry
- Setup the environment
./scripts/setup.sh
- Start the MongoDB instance
./scripts/start-mongo.sh
- Stop the MongoDB instance
./scripts/stop-mongo.sh
- Start the FastAPI server
./scripts/start.sh
- Format the code
./scripts/format.sh
- Manually run the linter
./scripts/lint.sh
- Manually run the tests
./scripts/test.sh
fastapi-odmantic-realworld-example's People
Contributors