This is a generated jiffy application based on the jiffy hasManyBelongsTo.json model.
Open a terminal window, switch to a folder under $GOPATH/src/ and perform the following:
go get -u github.com/1414C/GeneratedLibraryAppEdit the .dev.config.json file and verify the following:
- Set the "external_address" value to an ipv4 address that jiffy can bind the service end-points to.
- Edit the "database" sub-keys to aim at the database of your choosing as per the Jiffy configuration documentation.
- Edit the "logging" sub-keys as per your requirements. The initial settings are probably fine to start with.
- Everything else should be fine.
Review the content of the Jiffy docs starting at the Let's Run Something section. While the Getting Started tutorial covers a different data model, the steps are the same. Switch to the folder you installed the application source code in and run the following:
go run main.go -dev -rsOnce the application is running, follow the steps in the jiffy Login and Create a Person Getting Started sections to start testing the application via Postman or your favorite test tool.
Subsequent starts of the application should omit the -rs flag as follows:
go run main.go -dev