add proxy server for dynamic api endpoint handling and auth

This commit is contained in:
ju09279
2024-09-01 14:51:19 +02:00
parent 2bf269cf74
commit aea7e147e5
21 changed files with 4643 additions and 4328 deletions

20
proxy/main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"fmt"
"github.com/joho/godotenv"
)
func main() {
if ok := godotenv.Load(); ok != nil {
panic(".env not found")
}
InitDB()
err := run()
if err != nil {
fmt.Println(err)
}
}