Skip to content

Commit 1ca23b9

Browse files
committed
The problem was in the json file because of the comments
1 parent 5d8b53b commit 1ca23b9

3 files changed

Lines changed: 79 additions & 30 deletions

File tree

.dockerignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Don't include git info
2+
.git
3+
.gitignore
4+
5+
# Node.js
6+
frontend/node_modules
7+
npm-debug.log
8+
9+
# Python
10+
__pycache__/
11+
*.pyc
12+
*.pyo
13+
*.pyd
14+
env/
15+
venv/
16+
17+
# Docker
18+
.dockerignore
19+
Dockerfile*
20+
21+
# macOS / Windows
22+
.DS_Store
23+
Thumbs.db
24+
25+
# Logs
26+
*.log
27+
28+
# Editor configs
29+
.vscode/
30+
.idea/
31+
32+
# Env files
33+
.env
34+
.env.*

frontend/package.json

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,15 @@
11
{
2-
// --------------------------------------------------------------
3-
// package.json — metadata and configuration for the frontend Node.js project
4-
//
5-
// Purpose:
6-
// This file defines project metadata, required dependencies, and scripts
7-
// used to manage and run the Node.js frontend application.
8-
//
9-
// Key sections:
10-
// - name and version — name and version of the project
11-
// - main — the entry point file
12-
// - scripts — custom npm commands
13-
// - dependencies — packages needed to run the app
14-
// --------------------------------------------------------------
15-
16-
"name": "frontend", // Project name — 'frontend'
17-
"version": "1.0.0", // Project version
18-
"main": "index.js", // Entry point — where the application starts execution
19-
2+
"name": "frontend",
3+
"version": "1.0.0",
4+
"main": "index.js",
205
"scripts": {
21-
"test": "echo \"Error: no test specified\" && exit 1"
22-
// Test script — currently a placeholder that throws an error (can be replaced with real tests)
6+
"test": "echo \"Error: no test specified\" && exit 1"
237
},
24-
25-
"keywords": [], // Optional: keywords to help others find this package
26-
27-
"author": "", // Author of the project (currently empty, can be filled in)
28-
29-
"license": "ISC", // License type (ISC — an open-source license)
30-
31-
"description": "", // Optional: short description of the project
32-
8+
"keywords": [],
9+
"author": "",
10+
"license": "ISC",
11+
"description": "",
3312
"dependencies": {
34-
"express": "^5.1.0" // Required package — Express framework version 5.1.0 or compatible (caret ^ means it will update minor versions)
13+
"express": "^5.1.0"
3514
}
3615
}

frontend/package.jsonc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
// --------------------------------------------------------------
3+
// package.json — metadata and configuration for the frontend Node.js project
4+
//
5+
// Purpose:
6+
// This file defines project metadata, required dependencies, and scripts
7+
// used to manage and run the Node.js frontend application.
8+
//
9+
// Key sections:
10+
// - name and version — name and version of the project
11+
// - main — the entry point file
12+
// - scripts — custom npm commands
13+
// - dependencies — packages needed to run the app
14+
// --------------------------------------------------------------
15+
16+
"name": "frontend", // Project name — 'frontend'
17+
"version": "1.0.0", // Project version
18+
"main": "index.js", // Entry point — where the application starts execution
19+
20+
"scripts": {
21+
"test": "echo \"Error: no test specified\" && exit 1"
22+
// Test script — currently a placeholder that throws an error (can be replaced with real tests)
23+
},
24+
25+
"keywords": [], // Optional: keywords to help others find this package
26+
27+
"author": "", // Author of the project (currently empty, can be filled in)
28+
29+
"license": "ISC", // License type (ISC — an open-source license)
30+
31+
"description": "", // Optional: short description of the project
32+
33+
"dependencies": {
34+
"express": "^5.1.0" // Required package — Express framework version 5.1.0 or compatible (caret ^ means it will update minor versions)
35+
}
36+
}

0 commit comments

Comments
 (0)