Skip to content

effortless-technologies/elt-lodgix-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effortless Lodgix Middleware API

Dependencies

Go 1.9.1 Dep Docker

API SPEC

API Spec

Development

cd into /src/github/effortless-technologies clone repo:

$ cd $GOPATH/src/github/effortless-technologies
$ git clone [email protected]:effortless-technologies/el-connect-api.git

cd into project root and get dependencies:

$ cd el-connect-api
$ dep ensure

Build

Simple local build

cd into project and run:

$ cd <root/of/project>
$ go build -tags dev
$ ./elt-delivery

Now a server is runnning on localhost:1323:

$ curl http://localhost:1323

Containerized build via Docker

cd into project and run:

$ cd <root/of/project>
$ go run main.go

Now build the Docker image:

docker build -t <registry/cluster/image> .

Now run the Docker image:

docker run -i -t -p 1323:1323 <registry/cluster/image>

Now a server is runnning on localhost:1323:

$ curl http://localhost:1323

Testing

To run tests locally, use the following command

go test ./... -tags dev -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published