Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.2 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.2 KB

Skillsmatter demo app

This is the demo app for my Skillsmatter Groovy & Grails eXchange 2015 in London: Serverless microservice using AWS Lambda and Groovy.

Slides

GGX presentation can be found here: https://speakerdeck.com/benorama/serverless-microservices-using-aws-lambda-and-groovy

Technology used

Front:

  • Typescript (1.6.2)
  • Angular2 (alpha36)
  • Bootstrap4 (alpha)

Back:

  • Groovy (2.4.4)
  • Grails (3.1.0.M3)
  • AWS Lambda
  • AWS API Gateway
  • AWS DynamoDB

Running the app

To run the front end (Angular app), execute:

  • bower install
  • npm install
  • gulp

To run the back end (Grails app), execute:

  • grails run-app

Note: you must have configured your AWS credentials locally (with DynamoDB permissions). You can create SkillsmatterQuizInsight and SkillsmatterQuizVote tables automatically by running the following script at http://localhost:8080/console.

import skillsmatter.demo.*

ctx.quizInsightService.createTable(QuizInsight)
ctx.quizVoteService.createTable(QuizVote)