Initiales Beispiel-Monorepo (npm + .NET)

This commit is contained in:
Demo committed 2026-10-11 11:17:28 +02:00
commit e25a66e940
22 files changed
+1222

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{
"name": "@demo/web",
"version": "1.0.0",
"private": true,
"main": "src/index.js",
"scripts": {
"start": "node src/index.js"
},
"dependencies": {
"@demo/utils": "1.0.0",
"express": "4.18.2",
"lodash": "4.17.20"
}
}
+11
View File
@@ -0,0 +1,11 @@
const express = require("express");
const _ = require("lodash");
const { formatDate } = require("@demo/utils");
const app = express();
app.get("/", (_req, res) => {
res.json({ message: _.upperFirst("hello from the monorepo"), now: formatDate(new Date()) });
});
app.listen(8080, () => console.log("listening on http://localhost:8080"));