Building Flounder
I think that a lot of the way people build web apps apps days is derived from how massive companies or startups build web services. I want to propose an alternative approach that is extremely simple, and more appropriate for someone working in their free time.
- Programming language: Go
- Database: SQLite
- Frontend: HTML templates, CSS, very small amount of optional Javascript
- File storage: local filesystem
- Web Framework: net/http
- Hosting: Alpine Linux VM on Linode
- Deployment: shell script + openrc restart
- Job scheduling: Goroutines
- In-memory database: Go maps
Flounder is currently 2337 lines of Go code.
I do not use an ORM, but rather just use Go's database/sql library.
/gemlog/