Skip to content

devetek/golang-webapp-boilerplate

Repository files navigation

Description

Golang Web Application Boilerplate, modular clean code architecture seperate code by service to isolate unique functionality the service. And simplify the changes in the service without crossing the border each folder structure. The idea is to prepare if for each service require to move to stand alone service.

Use command below to run:

  1. Open terminal execute command to run css make css-dev
make css-dev
  1. Open other terminal and execute make run or make run-hot to run service with Makefile or use go binary directly export ENV=development && go run cmd/webapp/*.go.
make run-hot

# or

make run

# or

export ENV=development && go run cmd/webapp/*.go
  1. Open http://localhost:3000

Roadmap

  • Deploy to dPanel
  • CLI for development in single command
  • CLI for create new project
  • Improve IDE experience work with ejs

Reference