Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
0b044dd
📃 docs: コンセプト追記
naoki-00-ito Aug 17, 2025
b834265
📃 docs: endpoint
naoki-00-ito Aug 17, 2025
f557088
✨ feat: endpoint request
naoki-00-ito Aug 17, 2025
8e4817a
🐞 fix: swagger2openapi
naoki-00-ito Aug 18, 2025
52ed386
📃 docs: reorder OpenAPI generation workflow steps
naoki-00-ito Aug 18, 2025
47b8e70
✨ feat: add run_api_dev
riiimparm Aug 18, 2025
5ee573b
📃 docs: update server start instructions in README
naoki-00-ito Aug 18, 2025
51c2ef6
Merge pull request #2 from rowicy/feature/api-specifications
naoki-00-ito Aug 18, 2025
9982136
✨ feat: add run_mobile_app target to Makefile and update README
naoki-00-ito Aug 18, 2025
c14d7c6
🐞 fix: Catch SIGINT
riiimparm Aug 18, 2025
b144245
🐞 fix(#9): mock test コマンド変更
naoki-00-ito Aug 18, 2025
4b8b87b
Merge pull request #11 from rowicy/feature/#9
naoki-00-ito Aug 18, 2025
440a1d4
🐞 fix: Catch SIGINT & kill
riiimparm Aug 18, 2025
d8a42bb
Merge remote-tracking branch 'origin/develop' into feature/api-specif…
riiimparm Aug 18, 2025
92d9de4
🦄 refactor: separate helth.go
riiimparm Aug 18, 2025
e740e48
🐞 fix: kill pre processs
riiimparm Aug 18, 2025
7a0059e
位置情報サーチ用構造体と関数実装
RyujiOuchi Aug 18, 2025
027fe0f
Merge branch 'feature/api-specifications' of https://github.com/rowic…
RyujiOuchi Aug 18, 2025
5539a33
コンフリクト修正
RyujiOuchi Aug 18, 2025
5afa26d
✨ feat(#4): 距離・所要時間
naoki-00-ito Aug 18, 2025
7671217
🐞 fix: swag def
riiimparm Aug 18, 2025
abe7b81
✨ feat: Parse as is
riiimparm Aug 18, 2025
eb03082
✨ feat: add confortscore
riiimparm Aug 18, 2025
f63ef59
Merge pull request #16 from rowicy/feature/api-specifications
naoki-00-ito Aug 19, 2025
4432240
Merge remote-tracking branch 'origin/develop' into feature/#4
naoki-00-ito Aug 19, 2025
949a6c1
🐞 fix(#4): Stop the mock server
naoki-00-ito Aug 19, 2025
e8e1e1f
一旦WarningPointの処理コメントアウト
RyujiOuchi Aug 19, 2025
f3d5388
✨ feat(#4): モード選択
naoki-00-ito Aug 19, 2025
40dfd3a
Merge remote-tracking branch 'origin/feature/api-specifications' into…
naoki-00-ito Aug 19, 2025
d58ec3d
✨ feat(#4): 経路描画
naoki-00-ito Aug 19, 2025
cc0bc91
✨ feat: 所要時間と残り時間の表示を追加
naoki-00-ito Aug 19, 2025
070ed9e
🌈 style: format
naoki-00-ito Aug 19, 2025
a5f6582
🐞 fix: tsc error
naoki-00-ito Aug 19, 2025
51be267
Merge pull request #17 from rowicy/feature/#4
naoki-00-ito Aug 19, 2025
5e52190
取締強化交差点取得実装途中
RyujiOuchi Aug 20, 2025
7c972bd
✨ feat: 検索APIのレスポンスを配列形式に変更
naoki-00-ito Aug 20, 2025
cf53c1e
🐞 fix: 日本語検索を可能に
naoki-00-ito Aug 20, 2025
5f595b3
✨ feat(#8): 目的地検索
naoki-00-ito Aug 20, 2025
2cd4874
🦄 refactor(#8): コンポーネント切り出し
naoki-00-ito Aug 20, 2025
fdd87e1
Merge pull request #18 from rowicy/feature/#8
naoki-00-ito Aug 20, 2025
44cccec
🐞 fix: ローディング、エラー、値の表示ロジックを修正
naoki-00-ito Aug 20, 2025
956dfd8
Merge pull request #19 from rowicy/feature/#8
naoki-00-ito Aug 20, 2025
0f9a00b
✨ feat(#15): osm copyright
naoki-00-ito Aug 21, 2025
6264d70
🦄 refactor: 不要なコンポーネントを削除し、画面構成を整理
naoki-00-ito Aug 21, 2025
2cc0f52
Merge pull request #28 from rowicy/feature/#15
naoki-00-ito Aug 21, 2025
6b66998
✨ feat(#14): bbox
naoki-00-ito Aug 22, 2025
414e02b
Merge pull request #30 from rowicy/feature/#14
naoki-00-ito Aug 22, 2025
ae27db9
🐞 fix: DirectionsResponse
naoki-00-ito Aug 23, 2025
d83c3db
Merge pull request #31 from rowicy/feature/#5
naoki-00-ito Aug 23, 2025
0ecf135
Merge branch 'develop' into feature/api-specifications
RyujiOuchi Aug 23, 2025
0d187be
🐞 fix: edit res directions
riiimparm Aug 23, 2025
6004685
Merge branch 'develop' into feature/api-specifications
riiimparm Aug 23, 2025
8692cbb
Merge pull request #32 from rowicy/feature/api-specifications
riiimparm Aug 23, 2025
7d93505
✨ feat(#5): 快適度
naoki-00-ito Aug 23, 2025
620e8e9
Merge remote-tracking branch 'origin/develop' into feature/#5
naoki-00-ito Aug 23, 2025
e2aafe2
Merge pull request #33 from rowicy/feature/#5
naoki-00-ito Aug 23, 2025
847b705
✨ feat: 距離・所要時間 表示形式を更新
naoki-00-ito Aug 23, 2025
5464033
ファイル構成変更
RyujiOuchi Aug 23, 2025
3ec7d4f
Merge branch 'feature/api-specifications' into develop
RyujiOuchi Aug 23, 2025
4d50eea
🐞 fix: mode, result
naoki-00-ito Aug 23, 2025
00f32e5
タイポ修正
RyujiOuchi Aug 23, 2025
d1907de
取締強化交差点Json読み込み
RyujiOuchi Aug 23, 2025
1f4e508
WarningPoint取得用のエンドポイント対応
RyujiOuchi Aug 23, 2025
8468a4c
WarningPointリファクタ
RyujiOuchi Aug 23, 2025
604427c
✨ feat: Go Server 接続に関するコメントを追加
naoki-00-ito Aug 23, 2025
ae13c3a
✨ feat: /violation_rates
riiimparm Aug 23, 2025
cd17fda
Revert "✨ feat: /violation_rates"
riiimparm Aug 23, 2025
d870ed4
Revert "Revert "✨ feat: /violation_rates""
riiimparm Aug 23, 2025
8e6c2df
🐞 fix: swagger comment
riiimparm Aug 23, 2025
447174d
✨ feat(#7): 警告地点表示
naoki-00-ito Aug 23, 2025
f0a60d0
🐞 fix(#7): map を index に
naoki-00-ito Aug 23, 2025
00ae35c
🐞 fix: /violation_rates
riiimparm Aug 23, 2025
0df9668
warningPoint修正
RyujiOuchi Aug 23, 2025
3833038
Merge branch 'develop' of https://github.com/rowicy/charimachi into d…
RyujiOuchi Aug 23, 2025
dfb7ec8
🐞 fix(#7): color, search width
naoki-00-ito Aug 23, 2025
c1adb41
Merge remote-tracking branch 'origin/develop' into feature/#7
naoki-00-ito Aug 23, 2025
3091af7
✨ feat(#7): 重点取締場所一覧取得
naoki-00-ito Aug 23, 2025
5201be9
🐞 fix(#7): type
naoki-00-ito Aug 23, 2025
1f2ff3f
🐞 fix: WarningIntersection mod
naoki-00-ito Aug 23, 2025
8a4a523
Merge pull request #35 from rowicy/feature/#7
naoki-00-ito Aug 23, 2025
cc04553
✨ feat(#12): about
naoki-00-ito Aug 23, 2025
7a3496f
Merge pull request #37 from rowicy/feature/#12
naoki-00-ito Aug 23, 2025
252ac92
駐輪場を経由する処理を入れるためのリファクタリング
RyujiOuchi Aug 23, 2025
979f889
Merge branch 'develop' into feature/api-specifications
RyujiOuchi Aug 23, 2025
6566865
✨ feat: /violation_rates
riiimparm Aug 23, 2025
7c64dbc
🐞 fix: add title
riiimparm Aug 23, 2025
ddf8184
🐞 fix: title switch
riiimparm Aug 23, 2025
00f0285
✨ feat(#36): 事故発生地点
naoki-00-ito Aug 23, 2025
1d8353f
Merge pull request #38 from rowicy/feature/api-specifications
naoki-00-ito Aug 23, 2025
4b84d03
Merge remote-tracking branch 'origin/develop' into feature/#36
naoki-00-ito Aug 23, 2025
d1025f7
駐輪場検索実装
RyujiOuchi Aug 23, 2025
8129f4f
DirectionsからセッションIDが返るように修正
RyujiOuchi Aug 23, 2025
dc9a14a
✨ feat(#36): 違反箇所
naoki-00-ito Aug 23, 2025
43e9f55
Merge pull request #39 from rowicy/feature/#36
naoki-00-ito Aug 23, 2025
6717fb8
directions修正
RyujiOuchi Aug 23, 2025
f4fb385
✨ feat(#36): 違反件数と違反率を表示
naoki-00-ito Aug 23, 2025
b860c85
Merge pull request #40 from rowicy/feature/#36
naoki-00-ito Aug 23, 2025
4108ab8
📃 docs: Open Data usage
riiimparm Aug 23, 2025
399be68
Merge pull request #42 from rowicy/docs
riiimparm Aug 23, 2025
e27437f
Update README.md
riiimparm Aug 23, 2025
bfd6aca
駐輪場修正途中
RyujiOuchi Aug 23, 2025
2248a4f
✨ feat: Avoid bus stops
riiimparm Aug 23, 2025
334c2e0
📃 docs: add res open data
riiimparm Aug 23, 2025
72fd09a
Merge pull request #44 from rowicy/docs
riiimparm Aug 23, 2025
f96957f
🐞 fix: logo name screenshot
naoki-00-ito Aug 24, 2025
ff2262f
📃 docs: update app description and purpose in README
naoki-00-ito Aug 24, 2025
913e912
Update README.md
riiimparm Aug 24, 2025
1870264
📃 docs: thumbnail
naoki-00-ito Aug 24, 2025
2025645
📃 docs: update app overview and purpose in README
naoki-00-ito Aug 24, 2025
f24f7bf
📃 docs: add demo video to README
naoki-00-ito Aug 24, 2025
e3ab97d
📃 docs: fix video display style in README
naoki-00-ito Aug 24, 2025
c9a048e
Merge pull request #46 from rowicy/feature/screenshot
naoki-00-ito Aug 24, 2025
79a775d
📃 docs: update demo section in README and add demo GIF
naoki-00-ito Aug 24, 2025
e2b4ed6
📃 docs: gif width
naoki-00-ito Aug 24, 2025
72159de
📃 docs: gif width alt
naoki-00-ito Aug 24, 2025
29df39a
Merge pull request #47 from rowicy/feature/screenshot
naoki-00-ito Aug 24, 2025
803d7fc
Merge pull request #45 from rowicy/feature/api-specifications
riiimparm Aug 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Always reference these instructions first and fallback to search or bash command
## Working Effectively

### Environment Setup

- **Node.js**: MUST use version 22.14.0 (specified in `mobile-app/.nvmrc`)
- Install: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash`
- Setup: `export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"`
Expand All @@ -17,19 +18,21 @@ Always reference these instructions first and fallback to search or bash command
### Bootstrap and Build Process

#### Complete OpenAPI Generation Workflow

- **NEVER CANCEL**: Full workflow takes ~3 minutes. Set timeout to 5+ minutes.
- Command: `./generate-openapi.sh` (from repository root)
- This script orchestrates:
1. Go dependencies installation (~20 seconds)
2. Swagger 2.0 generation via `swag init` (~1 second)
3. OpenAPI 3.0.3 conversion (~1 second)
4. npm install for mobile app (~2 minutes)
3. npm install for mobile app (~2 minutes)
4. OpenAPI 3.0.0 conversion (~1 second)
5. TypeScript schema generation (~1 second each)
6. Mock server validation (~1 second)

#### Go API Development

- **Dependencies**: `cd api && go mod tidy` (~20 seconds)
- **Generate docs**: `cd api && swag init` (~1 second)
- **Generate docs**: `cd api && swag init` (~1 second)
- **Build**: `cd api && go build -o api-server main.go` (~8 seconds)
- **Run**: `cd api && ./api-server` (starts on port 8080)
- **Test**: Available endpoints:
Expand All @@ -38,25 +41,28 @@ Always reference these instructions first and fallback to search or bash command
- Posts endpoints may fail in sandboxed environments (expected)

#### Mobile App Development

- **ALWAYS use Node.js 22.14.0**: `nvm use 22.14.0` before any npm commands
- **Dependencies**: `cd mobile-app && npm ci` (~15 seconds)
- **Development server**: `cd mobile-app && npx expo start` (~5 seconds to start)
- QR code for mobile testing
- Web development available but has known limitation with react-native-maps
- **Schema generation**:
- **Schema generation**:
- Example: `npm run gen-schema:example` (~1 second)
- API: `npm run gen-schema` (~1 second)

### Validation and Testing

#### Linting and Formatting - NEVER CANCEL: Run all before committing

- **Mobile app directory linting**: `cd mobile-app && npm run ls-lint` (~1 second)
- **ESLint**: `cd mobile-app && npm run lint` (~4 seconds)
- **ESLint**: `cd mobile-app && npm run lint` (~4 seconds)
- **Prettier check**: `cd mobile-app && npm run format:check` (~1 second)
- **TypeScript checking**: `cd mobile-app && npm run test:ts` (~4 seconds)
- **Root directory linting**: `npx @ls-lint/ls-lint` (~1 second)

#### Mock Server Testing

- **Start mock**: `cd mobile-app && npm run mock` (port 8080)
- **Test endpoints**:
- `curl http://localhost:8080/health` (returns {})
Expand All @@ -66,25 +72,29 @@ Always reference these instructions first and fallback to search or bash command
### Known Limitations and Workarounds

#### Web Build Limitation

- **Issue**: `expo export --platform web` fails due to react-native-maps importing native modules
- **Workaround**: This is expected behavior. App has platform-specific files:
- `maps.tsx` - Web fallback (displays text message)
- `maps.native.tsx` - Native implementation (full map functionality)
- **Development**: Use `npx expo start` for mobile development (works perfectly)

#### External API Dependencies

- Posts endpoints (`/api/v1/posts`) depend on jsonplaceholder.typicode.com
- In sandboxed environments, these will return error responses (expected behavior)
- Health endpoint always works for testing API functionality

### Timeout Values and Timing Expectations

#### NEVER CANCEL - Critical Build Operations

- **Complete OpenAPI workflow**: 5+ minutes timeout (includes npm install)
- **npm ci**: 3+ minutes timeout (includes dependency resolution)
- **go mod tidy**: 2+ minutes timeout (first time, includes downloads)

#### Quick Operations (under 30 seconds)

- Individual linting/formatting checks: 30 seconds timeout
- Schema generation: 30 seconds timeout
- Go builds: 30 seconds timeout
Expand All @@ -93,14 +103,16 @@ Always reference these instructions first and fallback to search or bash command
### Manual Validation Scenarios

#### Complete API Workflow

1. Generate OpenAPI specs: `./generate-openapi.sh`
2. Start API server: `cd api && ./api-server`
3. Test health endpoint: `curl http://localhost:8080/api/v1/health`
4. Verify Swagger UI loads: `curl http://localhost:8080/swagger/index.html`
5. Stop server and start mock: `cd mobile-app && npm run mock`
6. Test mock endpoints: `curl http://localhost:8080/posts`

#### Complete Mobile App Workflow
#### Complete Mobile App Workflow

1. Ensure Node.js 22.14.0: `nvm use 22.14.0`
2. Install dependencies: `cd mobile-app && npm ci`
3. Generate schemas: `npm run gen-schema:example && npm run gen-schema`
Expand All @@ -109,6 +121,7 @@ Always reference these instructions first and fallback to search or bash command
6. Verify QR code and mobile development options appear

### CI/CD Integration

- GitHub Actions configured with 60-minute timeouts (appropriate)
- Mobile app workflow: schema generation, linting, formatting, type checking
- Project workflow: OpenAPI generation and validation
Expand All @@ -117,19 +130,22 @@ Always reference these instructions first and fallback to search or bash command
### Important File Locations

#### Configuration Files

- `mobile-app/.nvmrc` - Required Node.js version (22.14.0)
- `mobile-app/package.json` - Mobile app dependencies and scripts
- `api/go.mod` - Go dependencies
- `.ls-lint.yml` - Directory structure linting rules
- `generate-openapi.sh` - Complete OpenAPI workflow script

#### Generated Files (Do Not Edit)

- `api/docs/swagger.json` - Generated Swagger 2.0 specification
- `openapi-specifications/api.swagger.json` - Generated OpenAPI 3.0.3 specification
- `openapi-specifications/api.swagger.json` - Generated OpenAPI 3.0.0 specification
- `mobile-app/schema/api.d.ts` - Generated TypeScript definitions
- `mobile-app/schema/example.d.ts` - Generated example TypeScript definitions

#### Key Source Directories

- `api/` - Go API server with Gin framework
- `mobile-app/app/` - React Native app with Expo Router
- `mobile-app/components/` - Reusable UI components with Gluestack-UI
Expand All @@ -138,16 +154,19 @@ Always reference these instructions first and fallback to search or bash command
### Troubleshooting Common Issues

#### "Module not found" errors in mobile app

- Ensure Node.js 22.14.0: `nvm use 22.14.0`
- Regenerate schemas: `npm run gen-schema:example && npm run gen-schema`
- Clear cache: `npx expo start --clear`

#### Go build failures

- Generate swagger docs first: `cd api && swag init`
- Install swag tool: `go install github.com/swaggo/swag/cmd/swag@latest`
- Ensure PATH includes Go bin: `export PATH=$PATH:$(go env GOPATH)/bin`

#### Web bundle failures with react-native-maps

- This is expected behavior due to native module imports
- Use mobile development workflow instead: `npx expo start` (without web)
- App automatically uses platform-specific map implementations
- App automatically uses platform-specific map implementations
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"charimachi"
]
}
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.PHONY: run

run_api_dev:
cd api && go mod tidy && \
( \
kill -9 $$(lsof -ti :8080 2>/dev/null) 2>/dev/null; \
trap 'echo "SIGINT received, killing server..."; kill -9 $$(lsof -ti tcp:8080 2>/dev/null) 2>/dev/null; exit' INT; \
go run . & \
sleep 2; \
(open http://localhost:8080/swagger/index.html || xdg-open http://localhost:8080/swagger/index.html); \
wait \
)


run_mobile_app:
cd mobile-app && npm install && npm start
77 changes: 62 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
# ChariMachi
# CHARIMACHI

<img src="./img/icon.png" alt="icon" width="200" />
![CHARIMACHI](./screenshot/thumbnail.png)

<p style="text-align: center;">
<img src="./screenshot/marker.png" alt="注位置点表示" width="200" />
<img src="./screenshot/score.png" alt="快適度" width="200" />
</p>

## デモ

<img src="./screenshot/demo.gif" alt="デモ" width="200" />

[動画](https://drive.google.com/file/d/1YiH47TsoH7ZssMZgoyyxL8HFdFj577jk/view?usp=sharing)

## 概要

自転車の車道通行を目的とした適切なルート提案アプリ
安全、快適な車道通行ルートを提案する 自転車専用ナビアプリ CHARIMACHI

自転車利用者が安心して車道を走行できるよう支援するナビゲーションアプリを開発しました。自転車での移動を安全かつ快適に走行できるルートを検索・提示し、通行に適した道を優先的に案内します。さらに、交通安全に関する注意喚起として、事故が多発している場所や違反率が高い場所へのピン止めなどをすることで、事故や違反が身近にあるという認識を高め、車道通行の重要性理解を促進します。
注意喚起をするだけのサービスでは、重要性を理解されていない方々への普及は難しいと考え、日常的につかうナビゲーションアプリとすることで、安全な走行環境を提供しつつ、自転車の車道通行を社会に定着させることを目指します。

## なぜこのサービスを作るのか

車道通行が根付かない要因として、事故や違反が身近にあるという認識が薄く、注意喚起を目にする機会も少ないため、その重要性を十分に理解していないこと、さらに安全に通行できない車道が存在し、安全・快適に自転車を走行できるルートが確認できないことにあると考えました。本サービスではこの二点の課題解決を目指します。

### 安全かつ快適とはどのような道か

- 自転車専用帯が確保されている
- 歩道内に自転車帯が確保されている
- 車道の幅が広い
- 信号待ちの回数が少ない
- 路駐・路停車が少ない
- 大型車両の通行量が多くない

(最後2項目は今回実装できないかもしれない要件)

## 機能

Expand All @@ -13,11 +42,13 @@
- 出発地・到着地の候補検索
- ルート描画
- 自転車専用帯優先
- 取締強化交差点注意(オープンデータ)
- 信号まち回避
- 混雑車道回避
- 注意喚起
- 取締強化交差点注意(オープンデータ)
- 事故が多い地点(今回実装を見送る可能性あり)
- 経由地点表示
- 動時間表示
- 所要時間表示
- about画面・制作元・出典
- (駐輪所経由モード)
- (バス停回避モード)
Expand All @@ -26,28 +57,46 @@

### 自転車専用帯優先

- [OpenStreetMap](https://www.openstreetmap.org/)
- [OpenRouteService](https://openrouteservice.org)

### 取締強化交差点注意(オープンデータ)

- [東京都オープンデータカタログ - 交通規制情報](https://catalog.data.metro.tokyo.lg.jp/dataset/t000022d1700000024/resource/fb207998-df4c-434c-9280-1d7c2fbfdf1d)

### 違反率別注意交差点(オープンデータ)

- [交通量統計表](https://catalog.data.metro.tokyo.lg.jp/dataset/t000022d0000000035)

事前にファイル読み込み

- [(偶数年調査)主要交差点(区部)](https://catalog.data.metro.tokyo.lg.jp/dataset/t000022d0000000035/resource/b315688c-ac19-4b0d-b4be-de6414af7666)

- [(偶数年調査)主要交差点(多摩部)](https://catalog.data.metro.tokyo.lg.jp/dataset/t000022d0000000035/resource/ddaaa1ac-0d4a-4406-9e7c-f6d66aa74c55)

- [Overpass API](https://overpass-api.de/api/interpreter)

交通量統計表の交差点ポイントを座標化


### 信号まち回避

- [OpenStreetMap](https://www.openstreetmap.org/)
- [OpenStreetMap](https://www.openstreetmap.org/) ?

### 混雑車道回避

- [警視庁 - 交差点区部統計データ](https://www.keishicho.metro.tokyo.lg.jp/about_mpd/jokyo_tokei/tokei_jokyo/ryo.files/02_kousatenkubu_csv.zip)
- [国土交通省 - 道路統計データ](https://www.mlit.go.jp/road/ir/ir-data/ir-data.html)
- [警視庁 - 交差点区部統計データ](https://www.keishicho.metro.tokyo.lg.jp/about_mpd/jokyo_tokei/tokei_jokyo/ryo.files/02_kousatenkubu_csv.zip) ?
- [国土交通省 - 道路統計データ](https://www.mlit.go.jp/road/ir/ir-data/ir-data.html) ?

### (駐輪所経由モード)

- [東京都オープンデータカタログ - 駐輪場情報](https://catalog.data.metro.tokyo.lg.jp/dataset?q=title%3A+%E9%A7%90%E8%BC%AA%E5%A0%B4&sort=score+desc%2C+metadata_modified+desc)
- [東京都オープンデータカタログ - 駐輪場情報](https://catalog.data.metro.tokyo.lg.jp/dataset?q=title%3A+%E9%A7%90%E8%BC%AA%E5%A0%B4&sort=score+desc%2C+metadata_modified+desc) ?

### (バス停回避モード)

- [公共交通オープンデータ - 都営バス停留所データ](https://ckan.odpt.org/dataset/b_busstop-toei/resource/f340278d-aefe-47ea-bc8f-15ebe48c286d)

必要情報のみ抜き出し加工
CC BY 4.0(クレジット明示必要)

## 構成図

Expand All @@ -59,6 +108,8 @@ flowchart LR


GoServer <--元ルートデータ--> OpenRouteService

GoServer <--オープンデータ加工--> OpenData


ClientApp[クライアントアプリ(Expo)] --描画--> OSM[OpenStreetMap]
Expand Down Expand Up @@ -86,10 +137,6 @@ participant OSM as OpenStreetMap

---

## template-mobile-app

Templates for mobile app development.

### [mobile-app](./mobile-app)

This is a template for mobile app development using:
Expand Down Expand Up @@ -119,7 +166,7 @@ To generate the OpenAPI definitions, run the following command from the reposito
This script will:

1. Generate Swagger 2.0 documentation using `swag init` in the API directory
2. Convert the Swagger 2.0 specification to OpenAPI 3.0.3 format
2. Convert the Swagger 2.0 specification to OpenAPI 3.0.0 format
3. Place the result in `openapi-specifications/api.swagger.json`
4. Verify that React Native type generation and mock server commands work correctly

Expand Down
2 changes: 2 additions & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ main

# generated files
docs

.env
Loading
Loading