This backend no longer uses Supabase.
It connects directly to a PostgreSQL database using the pg driver and stores uploaded task photos on local disk.
Create a .env file in the project root with at least:
PORT=4000
DATABASE_URL=postgres://USERNAME:PASSWORD@HOST:5432/DATABASE_NAMEReplace USERNAME, PASSWORD, HOST, and DATABASE_NAME with your own PostgreSQL connection details.
- Install dependencies:
npm install- Start the dev server:
npm run devThe API will be available at http://localhost:4000.