The EdgeTimer backend requires Node.js, a Supabase project, and a small set of environment variables. The steps below walk through cloning the repository, installing dependencies, wiring up Supabase credentials, and starting the server in both development and production modes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JulietaEM/EdgeTimer/llms.txt
Use this file to discover all available pages before exploring further.
Install dependencies
Configure environment variables
Create a The application throws at startup if any of these three are missing. See Environment variables for the full variable reference including optional storage bucket names.
.env file in the backend/ directory. At a minimum you need the three Supabase connection variables:.env
Start the development server
nest start --watch, which recompiles on every file change. The server listens on http://localhost:3000 by default.Available scripts
All scripts are defined inpackage.json and invoked via npm run <script>.
| Script | Command | Description |
|---|---|---|
start | nest start | Start without file watching |
start:dev | nest start --watch | Start with hot reload |
start:debug | nest start --debug --watch | Start with Node.js debugger attached |
start:prod | node dist/main.js | Run the compiled output |
build | nest build | Compile TypeScript to dist/ |
test | jest | Run unit tests |
test:e2e | jest --config ./test/jest-e2e.json | Run end-to-end tests |