feat: Sprint 2 — snippets + keychain CRUD, standalone templates, clipboard/utils JS

This commit is contained in:
swanadiva
2026-07-07 13:26:56 +07:00
parent 8cfdec3980
commit c4b0d7d8c0
17 changed files with 691 additions and 112 deletions
+8
View File
@@ -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"))