marcidblue-sales-api

command module
v0.0.0-...-cf2ddb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 23 Imported by: 0

README

go-gin-api

GoLang + Gin + MongoDB Stack

Web Application stack built with the following technologies:

  • GoLang for developing the backend
  • Gin for API routing
  • MongoDB for the Database (NoSQL)

Local Setup

Pre-requisite:

Building

Developers can easily build GoGAM using NPM and gulp.

First install or update your local project's npm tools:

# First install all the NPM tools:
npm install

# Or update
npm update


Get Go Packages needed

  1. Download and install gin-gonic:

    $ go get gopkg.in/gin-gonic/gin.v1
    
  2. Download and install mgo:

    $ go get gopkg.in/mgo.v2
    
  3. Download and install mgo & mgo bson:

    $ go get gopkg.in/mgo.v2
    $ go get gopkg.in/mgo.v2/bson
    

For more details on how the build process works and additional commands (available for testing and debugging) developers should read the Build Instructions.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
handlers
Package middlewares contains gin middlewares Usage: router.Use(middlewares.Connect)
Package middlewares contains gin middlewares Usage: router.Use(middlewares.Connect)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL