uniconhq / unicon-backend

0 stars 1 forks source link

Unicon 🦄 Backend

Development

uv is used as the package and project manager for this project. Install it by following the instructions here.

Install dependencies:

uv sync # all dependencies
uv sync --no-dev # only production dependencies

Run database migrations:

# Set the database URL (`DATABASE_URL`) in the .env file / environment variable
# Migration files are located under `unicon_backend/migrations`
uv run alembic upgrade head

Start the development server:

# Set the RabbitMQ URL (`RABBITMQ_URL`) in the .env file / environment variable
uv run fastapi dev unicon_backend/app.py