added header, footer, eslint/prettier, and typedoc

This commit is contained in:
2024-09-13 17:06:10 +09:00
parent 845418da60
commit a7dc8d6c8f
56 changed files with 16207 additions and 11147 deletions

23
src-manager/README.md Normal file
View File

@@ -0,0 +1,23 @@
# Content Manager
SERA Websiteのニュース等のコンテンツを管理する
## 使用言語、ライブラリー、フレームワーク、ツール
* JavaScript
* express
* htmx
* node npm
* sqlite
## 使用方法
```bash
cd src-manager/ # このディレクトリーに移動
npm install # 依存パッケージのインストール、まだ一度も実行していない場合
npm start # サーバーを起動、ブラウザで http://localhost:3001 に入る
```
## データベース
## API

View File

@@ -10,7 +10,7 @@ app.use(express.static(path.join(__dirname, "../assets")));
app.use(express.static(path.join(__dirname, "../public")));
app.get('/api/hello', (req, res) => {
res.send('Hello World!');
res.send('<li>Hello World!</li>');
});
app.listen(port, () => {

View File

@@ -15,6 +15,6 @@
Click Me!
</button>
<p id="list"></p>
<ul id="list"></ul>
</body>
</html>