Live data from Hacker News

A Simple Go Project Template – Suited for Webapp MVPs

github.com

1–2 of 2 posts

Re: A Simple Go Project Template – Suited for Webapp MVPs

#2
A simple go project structure setup with all dependencies you need to get your MVP off the ground.

The project is suited as starting point for a simple webapp MVP. Besides the core files needed to get the setup running it contains a simple user module showcasing the intended project structure. Running the project starts the app exposing a REST API using the go-shipped webserver.

Features

- Hot reloading.

- sqllite3 database for local development.

- ORM ready to go.

- A simple database migration system.

- Injection of environment variables into config files.

- Simple spring-like repository structure for convenient database queries.

- Testing setup.

I hope you find it useful.