A production-ready REST API backend built with Go, featuring Supabase Postgres, Redis caching, and background job queuing for Stocks App.
├── cmd/
│ └── api/
│ └── main.go # Application entry point
├── internal/
│ ├── cache/ # Redis cache client
│ ├── config/ # Configuration management
│ ├── database/ # Supabase Postgres connection
│ ├── handlers/ # HTTP request handlers
│ ├── middleware/ # HTTP middleware
│ ├── models/ # Data models
│ ├── queue/ # Background job queue
│ └── server/ # HTTP server setup
├── migrations/ # SQL migrations
├── .env.example # Example environment variables
└── go.mod # Go module file
- Install dependencies:
go mod tidy - Run migrations on your Supabase database
- Start the server:
go run cmd/api/main.go
- TBD