Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

GeneratedLibraryApp

What is this?

This is a generated jiffy application based on the jiffy hasManyBelongsTo.json model.

What to do

Open a terminal window, switch to a folder under $GOPATH/src/ and perform the following:

    go get -u github.com/1414C/GeneratedLibraryApp

Edit the .dev.config.json file and verify the following:

  1. Set the "external_address" value to an ipv4 address that jiffy can bind the service end-points to.
  2. Edit the "database" sub-keys to aim at the database of your choosing as per the Jiffy configuration documentation.
  3. Edit the "logging" sub-keys as per your requirements. The initial settings are probably fine to start with.
  4. Everything else should be fine.

Running the Application

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 -rs

Once 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages