Backend of CoSearch APP.
Deploy and run the backend using Docker:
docker compose up -dYou may also want to run the app manually (eg. for hot reloading), in that case:
- comment the
backendservice indocker-compose.yml - Run the following command
uvicorn app.main:app --reloadTo kill the app, run
docker compose downTo run test locally, you must create a database and specify its name in the app/tests/conftest.py file.
Up the docker with docker compose up -d and create the database using Adminer.
Backend : http://localhost:8000
Automatic Interactive Docs (Swagger UI): http://localhost:8000/docs
Adminer: http://localhost:8080