Skip to content

cosearch-lab/cosearch-api

Repository files navigation

cosearch-api

Backend of CoSearch APP.

Local

Run app

Deploy and run the backend using Docker:

docker compose up -d

You may also want to run the app manually (eg. for hot reloading), in that case:

  1. comment the backend service in docker-compose.yml
  2. Run the following command
uvicorn app.main:app --reload

To kill the app, run

docker compose down

Run tests

To 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.

URLs

Backend : http://localhost:8000

Automatic Interactive Docs (Swagger UI): http://localhost:8000/docs

Adminer: http://localhost:8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages