feat: Create collection file for routes

This commit is contained in:
Björn Benouarets
2025-08-11 22:15:32 +02:00
commit f00ecb8155
14 changed files with 482 additions and 0 deletions

15
main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"github.com/tenante/api/database"
"github.com/tenante/api/server"
)
func main() {
db := database.NewConnection("localhost", 5432, "postgres", "postgres", "tenante_admin_PRD", "disable")
api := server.NewApiServer(8081, db)
err := api.Start()
if err != nil {
panic(err)
}
}