Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This is the Node.js / Express backend for FlowFi. It provides the REST API for t

- `npm install`: Installs dependencies.
- `npm run dev`: Starts the development server using nodemon.

> **Note:** nodemon watches only the `src/` directory for changes. Tests live in the `tests/` directory (outside the watch scope), so they never trigger server reloads. If tests were ever colocated inside `src/` in the future, add ignore patterns (e.g. `src/**/*.test.ts`) to nodemon.json to prevent unwanted restarts.
- `npm run build`: Compiles TypeScript to JavaScript.
- `npm start`: Runs the compiled server.
- `npm run db:push`: Pushes Prisma schema changes to the database.
Expand Down
1 change: 0 additions & 1 deletion backend/nodemon.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"watch": ["src"],
"ext": "ts,json",
"ignore": ["src/**/*.spec.ts", "src/**/*.test.ts"],
"exec": "npx tsx src/index.ts"
}
Loading