feat: add routers pkg
This commit is contained in:
13
mise.toml
13
mise.toml
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user