feat: add routers pkg

This commit is contained in:
2025-10-17 22:41:21 +03:00
parent a856c476d9
commit 60a0120b58
12 changed files with 27 additions and 17 deletions

View File

@@ -3,13 +3,8 @@ go = "latest"
bun = "latest"
[env]
# PORT = "8912" # api port
# FRONTEND_PORT = "8913"
BE_PORT = "8912" # api port
FE_PORT = "8913"
[tasks.dev]
description = 'Run BE & FE in tmux'
run = [
'tmux new-window "cd api; go install; PORT=8912 air"',
'tmux split-window "cd frontend; bun install; PORT=8913 bun src/index.tsx"',
'xdg-open "http://localhost:8913" || open "http://localhost:8913"'
]
[task_config]
includes = ["tasks.toml"]