Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aoirint/harmonica-web-next
Harmonica: Arduino環境センサモニター用Webフロントエンドアプリ(10.1インチタブレット用)
https://github.com/aoirint/harmonica-web-next
Last synced: about 1 month ago
JSON representation
Harmonica: Arduino環境センサモニター用Webフロントエンドアプリ(10.1インチタブレット用)
- Host: GitHub
- URL: https://github.com/aoirint/harmonica-web-next
- Owner: aoirint
- License: mit
- Created: 2022-11-25T00:36:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T01:06:01.000Z (4 months ago)
- Last Synced: 2024-09-12T10:44:49.810Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harmonica-web-next
自宅センサモニターHarmonicaのNext.js製Webフロントエンドアプリ。
![](docs/screenshot_monitor.jpg)
## Development Environment
- Node 20
- npm 10
- (Recommended) nvm:## Run the development server
```shell
nvm usenpm ci
```Create `.env.local` file.
```env
NEXT_PUBLIC_HASURA_URL=https://hasura.example.com
HASURA_ADMIN_SECRET=myadminsecretkeyNEXT_PUBLIC_SMOKEPING_NAMES=Ping MyTarget
NEXT_PUBLIC_SMOKEPING_URLS=https://smokeping.example.com
NEXT_PUBLIC_SMOKEPING_TARGETS=MyGroup.MyTarget
``````shell
npm run codegen -- --watchnpm run dev
```## Deployment
```shell
nvm usenpm ci
npm run build
rsync -av --delete out/ /path/to/
```