This commit is contained in:
fvjr156
2026-05-31 18:28:15 +08:00
parent b7dcac4327
commit e6172ebf4f
9 changed files with 1330 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
## Bug Description
A clear and concise description of what the bug is.
## Environment
- OS: [e.g. macOS, Windows, iOS]
- Browser/Environment: [e.g. Chrome 122, Node.js 20]
- Version/Commit: [e.g. v1.4.2, commit hash]
## Steps to Reproduce
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
## Expected Behavior
A clear and concise description of what you expected to happen.
## Actual Behavior
A clear and concise description of what actually happened. Include error logs or stack traces if applicable.
## Additional Context
Add any other context, screenshots, or code snippets about the problem here.
+7
View File
@@ -0,0 +1,7 @@
blank_issues_enabled: false
issue_templates:
- name: "Bug Report"
description: "Follow this format when reporting a bug."
title: "[Bug]: "
labels: ["bug"]
body: "./ISSUE_TEMPLATE/bug_report.md"
+29
View File
@@ -0,0 +1,29 @@
<!--- Please provide a general summary of your changes in the title above -->
## Pull request type
<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed -->
Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue -->
Issue Number: N/A
## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by this PR -->
-
-
-
## Other information
<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change -->
View File
+22
View File
@@ -0,0 +1,22 @@
node_modules/
.env
.env.local
.env.*.local
logs/
*.log
npm-debug.log*
.DS_Store
Thumbs.db
.vscode/
.idea/
*.swp
*.swo
dist/
build/
coverage/
+13
View File
@@ -0,0 +1,13 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --only=production
COPY src/ ./src/
EXPOSE 3000
CMD ["node", "src/server.js"]
+1196
View File
File diff suppressed because it is too large Load Diff
+24
View File
@@ -0,0 +1,24 @@
{
"name": "pfannkuchen",
"version": "1.0.0",
"description": "Goal:",
"main": "src/server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon start"
},
"repository": {
"type": "git",
"url": "http://178.128.52.241:3000/fernando/pfannkuchen.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"express": "^5.2.1"
},
"devDependencies": {
"nodemon": "^3.1.14"
}
}
+17
View File
@@ -0,0 +1,17 @@
import express from 'express';
const app = express();
const PORT = process.env.PORT || 3000;
app.use(express.json());
app.get('/health', (req, res) => {
res.json({ status: 'ok', timestamp: new Date().toISOString() });
});
app.get('/', (req, res) => {
res.json({ message: 'Welcome to the demo Express app!', version: '1.0.0' });
});
app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});