feat: Sprint 2 — snippets + keychain CRUD, standalone templates, clipboard/utils JS
This commit is contained in:
@@ -32,6 +32,14 @@ func main() {
|
||||
app.Get("/hosts", handler.DashboardList)
|
||||
app.Post("/hosts", handler.CreateHost)
|
||||
app.Delete("/hosts/:id", handler.DeleteHost)
|
||||
app.Get("/snippets", handler.Snippets)
|
||||
app.Get("/snippets/grid", handler.SnippetGrid)
|
||||
app.Post("/snippets", handler.CreateSnippet)
|
||||
app.Delete("/snippets/:id", handler.DeleteSnippet)
|
||||
app.Get("/keychain", handler.Keychain)
|
||||
app.Get("/keys/grid", handler.KeyGrid)
|
||||
app.Post("/keys", handler.CreateKey)
|
||||
app.Delete("/keys/:id", handler.DeleteKey)
|
||||
app.Get("/api/health", handler.Health)
|
||||
|
||||
log.Fatal(app.Listen(":1947"))
|
||||
|
||||
Reference in New Issue
Block a user