Built with Golang, PostgreSQL, Echo, Bcrypt, and other third-party libraries.
Make sure Golang and is already installed.
Clone the repo to the directory {user}/go/src/github.com/ilhamrobyana/online-store-evermos-task
Install the dependendices with dep ensure
Before running the application, set the dot env file first using .env.example as the layout.
PostgreSQL needed to be setup first.
And then migrate the data structure to PostgreSQL
cd migration
go run main.go
Go to the root folder of the project and enter the following:
go run main.go
The API documentation can be found in the following link:
https://documenter.getpostman.com/view/8102951/TVmJhyiw
There's some unit testing that has been implemented, could be executed in pg_storage folder