express-todo 1.2.2 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/{v2 → v3}/commands/simple/steps/locateSource.js +1 -1
- package/bin/v3/commands/simple/template/v1/package.json +22 -0
- package/bin/v4/commands/exportCommands/express.js +9 -0
- package/bin/v4/commands/simple/steps/announce.js +3 -0
- package/bin/v4/commands/simple/steps/createProject.js +7 -0
- package/bin/v4/commands/simple/steps/locateDestination.js +5 -0
- package/bin/v4/commands/simple/steps/locateSource.js +32 -0
- package/bin/v4/commands/simple/template/v1/.env +9 -0
- package/bin/v4/commands/simple/template/v1/.env.local +7 -0
- package/bin/v4/commands/simple/template/v1/.vscode/launch.json +12 -0
- package/bin/v4/commands/simple/template/v1/Config/Schemas/BillsTable.json +165 -0
- package/bin/v4/commands/simple/template/v1/Config/Schemas/ItemsTable.json +200 -0
- package/bin/v4/commands/simple/template/v1/Config/Schemas/LedgerNames.json +60 -0
- package/bin/v4/commands/simple/template/v1/Config/Schemas/StockItems.json +50 -0
- package/bin/v4/commands/simple/template/v1/Config/api.json +8 -0
- package/bin/v4/commands/simple/template/v1/Config/schema.json +8 -0
- package/bin/v4/commands/simple/template/v1/Config/ui.json +8 -0
- package/bin/v4/commands/simple/template/v1/Public/index.html +129 -0
- package/bin/v4/commands/simple/template/v1/app.js +19 -0
- package/bin/v4/commands/simple/template/v1/config.json +4 -0
- package/bin/v4/commands/simple/template/v1/configLoader.js +6 -0
- package/bin/v4/commands/simple/template/v1/package-lock.json +834 -0
- package/bin/v4/commands/simple/template/v1/package.json +22 -0
- package/bin/v4/commands/simple/template/v1/port.js +6 -0
- package/bin/v4/commands/simple/template/v1/routes.js +5 -0
- package/bin/v4/commands/simple/template/v1/server.js +13 -0
- package/bin/v4/commands/simple/template/v2/.env +9 -0
- package/bin/v4/commands/simple/template/v2/.env.local +7 -0
- package/bin/v4/commands/simple/template/v2/.vscode/launch.json +12 -0
- package/bin/v4/commands/simple/template/v2/Config/Schemas/BillsTable.json +165 -0
- package/bin/v4/commands/simple/template/v2/Config/Schemas/ItemsTable.json +200 -0
- package/bin/v4/commands/simple/template/v2/Config/Schemas/LedgerNames.json +60 -0
- package/bin/v4/commands/simple/template/v2/Config/Schemas/StockItems.json +50 -0
- package/bin/v4/commands/simple/template/v2/Config/api.json +8 -0
- package/bin/v4/commands/simple/template/v2/Config/schema.json +8 -0
- package/bin/v4/commands/simple/template/v2/Config/ui.json +8 -0
- package/bin/v4/commands/simple/template/v2/Public/index.html +129 -0
- package/bin/v4/commands/simple/template/v2/app.js +19 -0
- package/bin/v4/commands/simple/template/v2/config.json +4 -0
- package/bin/v4/commands/simple/template/v2/configLoader.js +6 -0
- package/bin/v4/commands/simple/template/v2/package-lock.json +834 -0
- package/bin/{v2/commands/simple/template/v7 → v4/commands/simple/template/v2}/package.json +3 -2
- package/bin/v4/commands/simple/template/v2/port.js +6 -0
- package/bin/v4/commands/simple/template/v2/routes.js +5 -0
- package/bin/v4/commands/simple/template/v2/server.js +13 -0
- package/bin/v4/commands/simple.js +19 -0
- package/bin/v4/core/parseInput.js +10 -0
- package/bin/v4/core/resolveCommand.js +10 -0
- package/bin/v4/core/resolveFolderName.js +17 -0
- package/bin/v4/core/showUsage.js +39 -0
- package/bin/v4/start.js +22 -0
- package/package.json +1 -1
- /package/bin/{v2 → v3}/commands/exportCommands/express.js +0 -0
- /package/bin/{v2 → v3}/commands/simple/steps/announce.js +0 -0
- /package/bin/{v2 → v3}/commands/simple/steps/createProject.js +0 -0
- /package/bin/{v2 → v3}/commands/simple/steps/locateDestination.js +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/.env +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/.env.local +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/.vscode/launch.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/Schemas/BillsTable.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/Schemas/ItemsTable.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/Schemas/LedgerNames.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/Schemas/StockItems.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/api.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/schema.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Config/ui.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/Public/index.html +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/app.js +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/config.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/configLoader.js +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/package-lock.json +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/port.js +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/routes.js +0 -0
- /package/bin/{v2/commands/simple/template/v7 → v3/commands/simple/template/v1}/server.js +0 -0
- /package/bin/{v2 → v3}/commands/simple.js +0 -0
- /package/bin/{v2 → v3}/core/parseInput.js +0 -0
- /package/bin/{v2 → v3}/core/resolveCommand.js +0 -0
- /package/bin/{v2 → v3}/core/resolveFolderName.js +0 -0
- /package/bin/{v2 → v3}/core/showUsage.js +0 -0
- /package/bin/{v2 → v3}/start.js +0 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>KeshavSoft</title>
|
|
8
|
+
|
|
9
|
+
<style>
|
|
10
|
+
body {
|
|
11
|
+
margin: 0;
|
|
12
|
+
font-family: Arial, sans-serif;
|
|
13
|
+
background: #0f172a;
|
|
14
|
+
color: #e2e8f0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
header {
|
|
18
|
+
background: #1e293b;
|
|
19
|
+
padding: 20px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
header h1 {
|
|
24
|
+
margin: 0;
|
|
25
|
+
color: #38bdf8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
header p {
|
|
29
|
+
margin: 5px 0 0;
|
|
30
|
+
color: #94a3b8;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.container {
|
|
34
|
+
padding: 40px 20px;
|
|
35
|
+
max-width: 900px;
|
|
36
|
+
margin: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.card {
|
|
40
|
+
background: #1e293b;
|
|
41
|
+
padding: 20px;
|
|
42
|
+
margin-bottom: 20px;
|
|
43
|
+
border-radius: 10px;
|
|
44
|
+
transition: 0.3s;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.card:hover {
|
|
48
|
+
transform: translateY(-5px);
|
|
49
|
+
background: #334155;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a {
|
|
53
|
+
color: #38bdf8;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a:hover {
|
|
58
|
+
text-decoration: underline;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
footer {
|
|
62
|
+
text-align: center;
|
|
63
|
+
padding: 20px;
|
|
64
|
+
background: #1e293b;
|
|
65
|
+
color: #94a3b8;
|
|
66
|
+
}
|
|
67
|
+
</style>
|
|
68
|
+
</head>
|
|
69
|
+
|
|
70
|
+
<body>
|
|
71
|
+
|
|
72
|
+
<header>
|
|
73
|
+
<h1>KeshavSoft</h1>
|
|
74
|
+
<p>Building Practical Software Solutions</p>
|
|
75
|
+
</header>
|
|
76
|
+
|
|
77
|
+
<div class="container">
|
|
78
|
+
|
|
79
|
+
<div class="card">
|
|
80
|
+
<h2>🌐 Website</h2>
|
|
81
|
+
<p>
|
|
82
|
+
Visit our official website:
|
|
83
|
+
<br>
|
|
84
|
+
<a href="https://keshavsoft.com/" target="_blank">
|
|
85
|
+
https://keshavsoft.com/
|
|
86
|
+
</a>
|
|
87
|
+
</p>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div class="card">
|
|
91
|
+
<h2>💻 GitHub</h2>
|
|
92
|
+
<p>
|
|
93
|
+
Explore our open-source projects:
|
|
94
|
+
<br>
|
|
95
|
+
<a href="https://github.com/keshavsoft" target="_blank">
|
|
96
|
+
https://github.com/keshavsoft
|
|
97
|
+
</a>
|
|
98
|
+
</p>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="card">
|
|
102
|
+
<h2>📦 npm Packages</h2>
|
|
103
|
+
<p>
|
|
104
|
+
Check our published packages:
|
|
105
|
+
<br>
|
|
106
|
+
<a href="https://www.npmjs.com/~keshavsoft" target="_blank">
|
|
107
|
+
https://www.npmjs.com/~keshavsoft
|
|
108
|
+
</a>
|
|
109
|
+
</p>
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
<div class="card">
|
|
113
|
+
<h2>🚀 About</h2>
|
|
114
|
+
<p>
|
|
115
|
+
KeshavSoft focuses on building modular, scalable, and practical tools
|
|
116
|
+
for real-world applications. Our goal is to simplify development and
|
|
117
|
+
accelerate delivery.
|
|
118
|
+
</p>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<footer>
|
|
124
|
+
© 2026 KeshavSoft. All rights reserved.
|
|
125
|
+
</footer>
|
|
126
|
+
|
|
127
|
+
</body>
|
|
128
|
+
|
|
129
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { exec } from "child_process";
|
|
2
|
+
|
|
3
|
+
import express from "express";
|
|
4
|
+
|
|
5
|
+
import loadConfig from "./configLoader.js";
|
|
6
|
+
import setupRoutes from "./routes.js";
|
|
7
|
+
import startServer from "./server.js";
|
|
8
|
+
|
|
9
|
+
loadConfig();
|
|
10
|
+
|
|
11
|
+
const app = express()
|
|
12
|
+
|
|
13
|
+
setupRoutes(app);
|
|
14
|
+
|
|
15
|
+
const { port } = startServer(app);
|
|
16
|
+
|
|
17
|
+
if (process.env.OPEN_BROWSER === "true") {
|
|
18
|
+
exec(`start http://localhost:${port}`);
|
|
19
|
+
};
|