We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0775280 commit 9c5f666Copy full SHA for 9c5f666
.github/copilot-instructions.md
@@ -0,0 +1,25 @@
1
+# Project Guidelines
2
+
3
+## Technology Stack
4
5
+- Node.js with Express
6
+- SQLite via better-sqlite3
7
+- EJS templates for server-rendered HTML
8
+- xUnit-style tests with Jest
9
10
+## Code Style
11
12
+- Use async/await — never raw callbacks or `.then()` chains
13
+- Follow the existing error handling pattern in `src/errorHandler.js`
14
+- All new routes must be added to `src/routes.js` following the existing pattern
15
+- Use 2-space indentation
16
17
+## Testing
18
19
+- Every new route must have a corresponding test in `tests/`
20
+- Use supertest for HTTP integration tests
21
22
+## Security
23
24
+- Never log user-provided input directly
25
+- Validate all request parameters before database access
0 commit comments