29 lines
542 B
Markdown
29 lines
542 B
Markdown
# Go boilerplate project
|
|
|
|
### A simple Go http server boilerplate project equipped with essentials for a go http server.
|
|
|
|
## How to run the application
|
|
1 - Copy the .env.dist to .env (you can edit the values if you want)
|
|
|
|
`$ cp .env.dist .env`
|
|
|
|
2 - Run make command, it will show the list of commands we have to make easier to start the application.
|
|
|
|
`$ make`
|
|
|
|
3 - Start the application
|
|
|
|
`$ make setup-local`
|
|
|
|
4 - Run the tests
|
|
|
|
`$ make tests`
|
|
|
|
5 - Run the lint
|
|
|
|
`$ make lint`
|
|
|
|
6 - Run all the validations (lint + tests)
|
|
|
|
`$ make validation`
|