Skip to content

[WIP] AEQUITAS Backend Service: providing API for a Q/A-based system aimed at guiding users in their fair-AI workflows

License

Notifications You must be signed in to change notification settings

aequitas-aod/aequitas-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aequitas - Backend

Web service implementing the Aequitas context service.

Prerequisites

  • Python 3.10+

Getting Started

Installation

  • Run pip install -r requirements.txt to install poetry package manager.
  • Run poetry install to install the project dependencies. Poetry will create a virtual environment that will be used to handle project dependencies.

Running the service

  • Run docker compose up -d to start the database.
  • Starting the web server:
    • poe dev --port 4005 to run the service in the development mode.
    • poe serve --port 4005 to run the service in the production mode.
  • Interact with the service through the Aequitas Frontend

Dependencies Management

The purpose of requirements file is just offering a quick way to install poetry. Actual dependencies are managed by poetry itself.

You can add new dependencies to the project by running poetry add <package-name>. This will add the package to the pyproject.toml file and install it in the virtual environment.

Testing

In order to run the whole test suite:

poe test

If you want to run just unit tests:

poe unit-test

Or just integration tests:

poe intergation-test

Code Style

This project uses black code formatter.

Check code style

poe format-check

Format code

poe format

About

[WIP] AEQUITAS Backend Service: providing API for a Q/A-based system aimed at guiding users in their fair-AI workflows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages