feat: init

This commit is contained in:
2026-03-27 12:18:36 +01:00
commit cc59a91fea
55 changed files with 21768 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
## ADDED Requirements
### Requirement: Project Root .gitignore File
The project SHALL include a `.gitignore` file at its root directory.
#### Scenario: .gitignore file existence
- **WHEN** the project repository is initialized or cloned
- **THEN** a `.gitignore` file SHALL be present in the root directory.
### Requirement: Ignore Node.js Dependencies
The `.gitignore` file SHALL include patterns to ignore Node.js dependency directories and related build artifacts.
#### Scenario: Node.js project files
- **WHEN** a Node.js project is being developed
- **THEN** `node_modules/` SHALL be ignored.
- **AND** `npm-debug.log` SHALL be ignored.
- **AND** `build/` directories within Node.js projects SHALL be ignored.
- **AND** `dist/` directories within Node.js projects SHALL be ignored.
### Requirement: Ignore OS and IDE Specific Files
The `.gitignore` file SHALL include patterns to ignore operating system and integrated development environment (IDE) specific files.
#### Scenario: OS and IDE generated files
- **WHEN** development is performed on various operating systems or IDEs
- **THEN** `.DS_Store` SHALL be ignored.
- **AND** `Thumbs.db` SHALL be ignored.
- **AND** `.vscode/` directory SHALL be ignored.
- **AND** `.idea/` directory SHALL be ignored.
- **AND** `*.swp` files SHALL be ignored.
### Requirement: Ignore Project-Specific Build Artifacts and Logs
The `.gitignore` file SHALL include patterns to ignore project-specific build output directories and log files.
#### Scenario: Project build and log files
- **WHEN** the frontend or backend services are built
- **THEN** `frontend/build/` SHALL be ignored.
- **AND** `backend/build/` SHALL be ignored.
- **AND** `*.log` files SHALL be ignored.
- **AND** `.env` files SHALL be ignored.