File size: 520 Bytes
0ddf928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82cb09c
 
0ddf928
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Setup

## Prerequisites

- Python 3.12+
- Node.js (for Prisma CLI if needed)
- Supabase CLI

## Install

```bash
pip install -r requirements.lock.txt
```

## Environment

Copy `.env.example` into `.env` and set values.

## Local database and Prisma sync

```bash
supabase start
supabase db reset
prisma db pull
prisma generate
```

During the execution of the `supabase db reset` command it will autommatically look for a `supabase/seed.sql` file to seed the db.

## Run API

```bash
uvicorn app.main:app --reload
```