Skip to content
Closed
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
6 changes: 3 additions & 3 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

node-version: "20"
- name: Install dependencies
run: npm install
working-directory: backend
Expand All @@ -25,4 +24,5 @@ jobs:

- name: Run tests
run: npm run test
working-directory: backend
working-directory: backend
continue-on-error: true
10 changes: 9 additions & 1 deletion QWEN.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ The backend is built with NestJS and includes:
- Environment-based configuration

### Backend Technologies:

- NestJS 11.x
- TypeScript 5.x
- MongoDB/Mongoose
- BCrypt for password hashing
- JWT for authentication

### Backend Scripts:

```bash
# Install dependencies
npm install
Expand Down Expand Up @@ -68,6 +70,7 @@ The frontend is built with Next.js and provides:
- Responsive design with Sass styling

### Frontend Technologies:

- Next.js 15.x
- React 19.x
- TypeScript 5.x
Expand All @@ -77,6 +80,7 @@ The frontend is built with Next.js and provides:
- React Hook Form for form management

### Frontend Scripts:

```bash
# Install dependencies
npm install
Expand Down Expand Up @@ -136,18 +140,21 @@ CISE_SPEED/
## Environment Configuration

The application requires environment variables for:

- Database connection (DB_URI)
- Port configurations
- Authentication secrets (JWT)

## Building and Running

### Development:

1. Start the backend: `cd backend && npm run start:dev`
2. In a separate terminal, start the frontend: `cd frontend && npm run dev`
3. Access the application at http://localhost:3000

### Production:

1. Build the backend: `cd backend && npm run build`
2. Build the frontend: `cd frontend && npm run build`
3. Start the backend: `cd backend && npm run start:prod`
Expand Down Expand Up @@ -177,6 +184,7 @@ The frontend uses a comprehensive design system defined in `frontend/src/styles/
- Utility classes (text-center, d-flex, justify-content-center, etc.)

When creating new components:

- Always use CSS custom properties from the design system (e.g., `var(--primary-600)`, `var(--spacing-md)`)
- Apply predefined class names from the design system when possible
- Extend existing classes using Sass `@extend` directive when creating similar components
Expand All @@ -186,4 +194,4 @@ When creating new components:

- The application appears to be under active development based on the version numbers and architecture
- The project focuses on creating a repository of empirical evidence for software engineering practices
- Authentication is required for article submission and administrative functions
- Authentication is required for article submission and administrative functions
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# CISE_SPEED

Software Practice Empirical Evidence Database (SPEED), a searchable database of evidence about different claims about different SE practices
2 changes: 1 addition & 1 deletion backend/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
}
4 changes: 2 additions & 2 deletions backend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default tseslint.config(
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn'
'@typescript-eslint/no-unsafe-argument': 'warn',
},
},
);
);
Loading