A web application starter project in golang
├── Makefile
├── README.md
├── auth
│ └── auth.go
├── db
│ └── mongodb.go
├── index
│ └── index.go
├── main.go
├── routes.go
└── user
├── dao.go
└── user.go-
git clone https://github.com/prakashpandey/go-webapp-starter.git -
cd go-webapp-starter -
make build && make run -
It starts at default address
http://localhost:8284
-
/ -
/user: Methods allowed [POST,DELETE]
Package main is our main package. File main.go starts our server. File route.go defines all routes.
Contains code to authenticate client request.
db package must implement all the dao interfaces.
A sample package implementing hello world functionality.
Package user implement user CRUD operations.
The Unlicense, please visit LICENSE for more information.