- NoSQL support (motor asyncio)
- Pydantic-based models
- Fast
Run using docker to checkout mongo support
cp -rv env.example .env # populate with your own values
docker-compose up -d
The nginx
service serves both static files from the front and backend.
Add staticfiles for
- frontend: to the
rollup
build process OR tofrontend/dist/
- backend: to
backend/static
The backend
service is to be accessed from the frontend using /api
prefix.
Thus any backend routes are now /api/route-to-be-accessed
. Because of this,
the API docs are hosted at /api/docs
.
For easy debugging purposes, there is an express mongodb interface provided at
/db_interface/
.