api

command module
v0.0.0-...-7582d03 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: MIT Imports: 15 Imported by: 0

README

networth.app - REST API

Install

This api requires Golang 1.11 and up

# install packages
go mod download

Start service

# install gin
go get -u github.com/gin-gonic/gin

# start service locally
make start-api

# make a healthcheck request using httpie
http :3000/healthcheck

Testing

Docker is required for test as it will launch a local-dynamodb instance in a container.

# pull dynamodb-local
docker pull amazon/dynamodb-local

# start a dynamodb-local container
docker run --rm -d -p 8000:8000 amazon/dynamodb-local

# test api
make test

Deploy service

make deploy-api

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib module

Jump to

Keyboard shortcuts

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