- Clone project
- Create new database
- Create
.env
file (example contents are in.env.example
) and customize the values. - Open terminal and then run :
go mod tidy
- Running app use command :
go run main.go
- Recommended flow
- Post new user :
\api\v1\users
ex. : { "Username": "Lana", "Email": "lana@mail.com", "Password": "123abc" } - Login to get the token :
\api\v1\login
- In Authorization/Auth, select Bearer Token and enter the token
- Enjoy to try other API