Follow these steps to set up and run the application in your local environment.
git clone https://github.com/Grupo-Syntax-Squad/synapse-backend.git
cd synapse-backendpython -m venv .venv
source .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # Windowspip install -r requirements.txtCreate a .env file in the root directory:
DATABASE_URL=postgresql://postgres:password@localhost:5432/synapse
uvicorn app.main:app --reloadBy default, the API will be available at:
👉 http://localhost:8000
mypy app/ruff check .
ruff format .- docker-compose
sudo docker-compose up -d --build