Skip to content

rowland-street/boilerplate-demo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

boilerplate-demo

This is the code generated by Unitily to accompany the blog post: Good code is 90% boilerplate, which includes the video demo.

You can run the tests by running

mvn verify

The main method cannot be run out the box because we didnt make any environments (see other demos). To run the main you will need to create an application.config file in the src/resources folder. There is an example in the test resources. e.g.

anEnv {
    userTable {
        region = "eu-west-0",
        tableName = "table-name-0",
        idFieldName = "id"
    }

    userId = "aString2"
}

Then you will need to run the main function with an envrionment variable e.g.

Environment=anEnv

and of course you'll need a dynamo table that matches the settings with some users in.

Unitily can automate all this, see the more in depth demo playlist here https://www.lightning-lambdas.com/demo.html, in particular for the deployments and cloudformation see https://www.youtube.com/watch?v=FuprJFUQvr8&t=362s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages