Potion/cmd/web/main.go
Hayden Hargreaves e0e1230660 (FEAT): Dev/prod environment toggle is complete!
We can now use environment values to dictate which values are used for
the DB and the domain. This is a simple solution, but for now, it works!

This will merge into master and we can then see it live in action!
2025-07-22 22:43:40 -07:00

13 lines
178 B
Go

package main
import "github.com/haydenhargreaves/Potion/internal/app/server"
const PORT = 3000
func main() {
s := server.Init(PORT).Setup()
defer s.DB.Close()
s.Start()
}