Add API endpoint to retrieve all chores via API
This commit is contained in:
parent
a3c5a81ce4
commit
a8f8550a66
2 changed files with 59 additions and 0 deletions
3
main.go
3
main.go
|
@ -85,11 +85,14 @@ func main() {
|
|||
fx.Provide(thing.NewWebhook),
|
||||
fx.Provide(thing.NewHandler),
|
||||
|
||||
fx.Provide(chore.NewAPI),
|
||||
|
||||
fx.Provide(frontend.NewHandler),
|
||||
|
||||
// fx.Invoke(RunApp),
|
||||
fx.Invoke(
|
||||
chore.Routes,
|
||||
chore.APIs,
|
||||
user.Routes,
|
||||
circle.Routes,
|
||||
thing.Routes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue