chore: initialize project with package.json, .env.example and .gitignore
Set up the Node.js project skeleton, define environment variable template, and exclude secrets, certs, and nginx runtime from version control.
This commit is contained in:
11
.env.example
Normal file
11
.env.example
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Copy this file to .env and replace the placeholder values.
|
||||||
|
|
||||||
|
# Gitea token used to list repos and branches.
|
||||||
|
GITEA_TOKEN=replace-with-your-gitea-token
|
||||||
|
|
||||||
|
# IPADS API key used by the default quota command.
|
||||||
|
IPADS_API_KEY=replace-with-your-ipads-api-key
|
||||||
|
|
||||||
|
# Optional overrides.
|
||||||
|
# KANBAN_GITEA_BASE_URL=http://gahow-pc.ipads-lab.se.sjtu.edu.cn:3300
|
||||||
|
# KANBAN_AUTH_TOKEN=replace-with-a-long-random-login-token
|
||||||
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Environment secrets
|
||||||
|
.env
|
||||||
|
|
||||||
|
# SSL certificates and private keys
|
||||||
|
deploy/certs/
|
||||||
|
|
||||||
|
# Nginx runtime data
|
||||||
|
.nginx/
|
||||||
|
|
||||||
|
# Node.js
|
||||||
|
node_modules/
|
||||||
14
package.json
Normal file
14
package.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "local-kanban",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "node src/server.js",
|
||||||
|
"start": "node src/server.js",
|
||||||
|
"test": "node --test"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user