simple-api-go

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

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

Go to latest
Published: Mar 13, 2017 License: GPL-3.0 Imports: 14 Imported by: 0

README

Docs (Status : OnGoing)

Task Management API is a simple API for task management. Developed under Go (Golang) platform. This project developed using gin framework to ease the development. See Source For all the library used

Index

Overview

  1. Import the SQL to your MySql Database.
  2. Set your Database Connections (username/password in services/mysql and core/sqlboiler.toml )
  3. Set your others services instance (Redis,ElasticSearch,MongoDB , etc )
  4. Run the project

See Quick Start for example implementations.

Support

You can also email iman.tumorang@gmail.com or file an Issue.

Quick Start

Command Line

Run your project using this command

# download the project
git clone https://github.com/bxcodec/Simple-API-Go.git
cd simple-api-go

# run the project
go run main.go

Source

Below listed all the library used here.

gin

Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.

sqlboiler

SQLBoiler is a tool to generate a Go ORM tailored to your database schema.

It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). That means you must first create your database schema. Please use something like goose, sql-migrate or some other migration tool to manage this part of the database's life-cycle.

jwt-go

A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controllers
v1
libs
middlewares
routers
v1
services

Jump to

Keyboard shortcuts

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