Official starter skeleton application for Think Framework.
- Go 1.23+
# Clone or navigate to directory
cd think-app
# Run application
go run main.goThe application will start on http://localhost:8080.
app/http/controllers/- HTTP Controllersapp/http/middleware/- Application Middlewaresapp/http/kernel.go- HTTP Kernel (Global stack, Groups, Aliases)app/models/- Data & Domain Modelsapp/providers/- Service Providers (App, Event, Route)bootstrap/app.go- Framework instance bootstrapperconfig/- Configuration filesresources/views/- HTML templatesroutes/web.go- Web routes (Session & Cookie enabled)routes/api.go- API routes (JSON responses with/apiprefix)storage/- Cache, Session files, Views, and Logs
GET /- Welcome pageGET /status- Live server metadata & session visit counterGET /api/ping- JSON ping responseGET /api/user- Protected endpoint example (authmiddleware alias)