require "kemal" require "stripe" require "db" require "pg" # Initialize the database connection once DB_URL = "postgres://user:password@localhost/dbname" DB_CONN = DB.open(DB_URL) # Routes for auth and projects require "./routes/auth" require "./routes/projects" get "/" do "welcome to the management portal" end Kemal.run