/devstore

A basic online store REST API written with Golang

Primary LanguageGo

Devstore

Package

Prerequisites

Running Locally

  1. make environment
  2. make migrate-up
  3. cp app.env.sample app.env, adjust the value
  4. make server
  5. App running!

Other Commands :

You can run make help for showing all available commands :

❯ make help
environment                    Setup environment.
migrate-all                    Rollback migrations, all migrations
migrate-create                 Create a DB migration files e.g `make migrate-create name=migration-name`
migrate-down                   Rollback migrations, latest migration (1)
migrate-up                     Run migrations UP
server                         Running application