🏆 Go-Trophy Server
❯ Why
TODO
❯ Installation
brew install go
brew install glide
brew install goose
brew install mysql
❯ Getting Started
First we need to install the dependencies.
make install
To start the server run.
make run
❯ Dependency Management
Our dependency management tool is glide;
Add Dependency
glide get github.com/foo/bar
Updating Dependencies
glide update
❯ Database Migrations
To manage our database schema we used the library goose.
Run migrations
make db-migrate
Create a migration
make db-create-migration name=create_user_table
❯ Testing
For testing our awesome app we decided to use the toolkit stretchr/testify.
Create Mocks
To automatically generate the mocks we use vektra/mockery.
The below command example generates the mock files of our interfaces inside the /app folder.
make mocks
❯ License
MIT