main
nightly 2022-10-17 11:56:45 +02:00
parent 22548f897b
commit bf1e851d1f
6 changed files with 1319 additions and 601 deletions

View File

@ -1,3 +0,0 @@
{
"extends": "next/core-web-vitals"
}

15
Source/Webserver/index.ts Normal file
View File

@ -0,0 +1,15 @@
/**
* @file Webserver
* @description The MangoRecipe front-end
* @module webserver/index
*/
import type { NextFunction, Request, Response } from "express";
import type { SessionOptions } from "express-session";
import { minify } from "terser";
import express from "express";
import expressSession from "express-session";
import path from "path";

1879
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,13 +18,15 @@
],
"author": "nightlymania",
"license": "GPL-2.0-or-later",
"dependencies": {
"next": "^12.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"eslint": "8.25.0",
"eslint-config-next": "12.3.1"
"eslint-config-next": "12.3.1",
"typescript": "^4.8.4"
},
"dependencies": {
"express": "^4.18.2",
"express-session": "^1.17.3",
"path": "^0.12.7",
"terser": "^5.15.1"
}
}

View File

@ -1,11 +0,0 @@
function HomePage() {
return <>
<h1>Hello!</h1>
</>
}
export default HomePage

View File