https://github.com/narumincho/definy
deiny is web app for web app. under development
https://github.com/narumincho/definy
deno programming-language typescript
Last synced: 10 months ago
JSON representation
deiny is web app for web app. under development
- Host: GitHub
- URL: https://github.com/narumincho/definy
- Owner: narumincho
- Created: 2019-01-31T04:33:36.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T09:47:12.000Z (over 1 year ago)
- Last Synced: 2025-03-13T06:34:22.837Z (11 months ago)
- Topics: deno, programming-language, typescript
- Language: Dart
- Homepage: https://definy.app
- Size: 36.5 MB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# definy
いろいろ整理中... いろいろ調整する前
https://github.com/narumincho/definy/tree/prev2023

- [Deno Version](https://definy.deno.dev/)
- [Firebase Version](https://definy.app/?hl=ja)
- [Old Version](https://definy-old.web.app/) WebAssembly を使って数値の足し算,
引き算, 掛け算ができる
## start server
`/script/startInLocal.ts`
```ts:
import { startDefinyServer } from "../server/main.ts";
startDefinyServer();
```
```sh
deno run --check --watch --unstable --allow-net=:8000 ./script/startInLocal.ts
```
## client build
```sh
deno run --check --allow-env --allow-net --allow-read --allow-write=./dist.json ./script/buildClient.ts
```
## client graphql codegen
### step 1 query gen
```sh
fvm flutter pub run ./lib/codegen.dart && fvm dart fix --apply && fvm dart format .
```
### step 2 api gen
```sh
fvm flutter pub run ./lib/codegen_api.dart && fvm dart fix --apply && fvm dart format .
```
## type check
```sh
deno run --allow-run --allow-read ./script/typeCheck.ts
```
## フォルダとファイルの説明
- `.github/workflows/pull_request.yml`: Pull Request
したときに実行されるテストの処理が書かれている
- `.vscode`: VSCode 向けの設定
- `assets`: スタティックなファイルが置かれている
- `local.sqlite`, `local.sqlite-shm`, `local.sqlite-wal`
ローカルで開発するときに使うデータベースのファイル