Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 1.07 KB

README.md

File metadata and controls

71 lines (53 loc) · 1.07 KB

Project ganja

Wrapper for creating golang server native application using popular library

Package used

  1. Gin: For http request handling
  2. Gomail: For mailer
  3. Gorm: For ORM

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

MakeFile

Run build make command with tests

make all

Build the application

make build

Run the application

make run

Run the database up migration

make run-migration-up

Run the database down migration

make run-migration-down

Create DB container

make docker-run

Shutdown DB Container

make docker-down

DB Integrations Test:

make itest

Live reload the application:

make watch

Run the test suite:

make test

Clean up binary from the last build:

make clean