added header, footer, eslint/prettier, and typedoc
This commit is contained in:
23
src-manager/README.md
Normal file
23
src-manager/README.md
Normal 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
|
||||
@@ -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, () => {
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
Click Me!
|
||||
</button>
|
||||
|
||||
<p id="list"></p>
|
||||
<ul id="list"></ul>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user