Skip to content

open-reaction-database/ord-app

Repository files navigation

ord-app

Local development

  1. Install dependencies

    • PostgreSQL
    • Python >= 3.10
  2. Install the package

    git clone [email protected]:open-reaction-database/ord-app.git
    cd ord-app
    pythom -m pip install -e ".[tests]"
  3. Run the FastAPI server

    cd ord_app/api
    ORD_APP_TESTING=TRUE fastapi dev main.py

    This creates a test PostgreSQL database and starts the server at http://localhost:8000. Navigate to http://localhost:8000/docs for the interactive Swagger docs.

Testing

Python tests are written with pytest:

pytest -vv

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published