https://github.com/aoirint/harmonica-web-next
Harmonica: Arduino環境センサモニター用Webフロントエンドアプリ(10.1インチタブレット用)
https://github.com/aoirint/harmonica-web-next
Last synced: 4 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T16:37:25.000Z (6 months ago)
- Last Synced: 2025-03-15T01:34:47.012Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.53 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フロントエンドアプリ。

## 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/
```