Skip to content

IHIMEKPEN/gazo

Repository files navigation

Gazo Api

Description

Gazo shows how i organise my project folders and simulatenusly paying attention to writing reusable, scalable and neat code, this will make it highly maintainable.


Feature

  • Containerize Application Using Docker
  • User Authentication and Authorisation
  • Integerasi ORM Database Using Gorm
  • CRUD functionality for post(like a simple blog)
  • Integration, Load and Unit Tests
  • And More

Command

  • Application Lifecycle

    • Install node modules
    $ go get . || go mod || make goinstall
    • Build application
    $ go build -o main || make goprod
    • Start application in development
    $ go run main.go | make godev
    • Test application
    $ go test main.go main_test.go || make gotest
  • Docker Lifecycle

    • Build container
    $ docker-compose build | make dcb
    • Run container with flags
    $ docker-compose up -d --<flags name> | make dcu f=<flags name>
    • Run container build with flags
    $ docker-compose up -d --build --<flags name> | make dcubf f=<flags name>
    • Run container
    $ docker-compose up -d --build | make dcu
    • Stop container
    $ docker-compose down | make dcd

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages