Skip to content

External service to be used as part of "Writing Test-Driven Apps with http4k" workshop

Notifications You must be signed in to change notification settings

http4k/dictionary

Repository files navigation

Dictionary app

Deployable Dictionary app to be used as part of Writing Test-Driven Apps with http4k workshop.

Currently available via https://d2abkoa8ls379e.cloudfront.net

Building and deploying

Pre-requisites

  • Working AWS account
  • Pulumi installed
  • A user with permissions to manage resources
  • User credentials configured in a http4k-lambda-demo CLI profile:

~/.aws/config:

[profile dictionary-http4k]
region = eu-west-2
output = json

~/.aws/credentials:

[dictionary-http4k]
aws_access_key_id = <your key>
aws_secret_access_key = <your secret>

Deployment

export AWS_PROFILE=dictionary-http4k
./gradlew dictionary-function:buildLambdaZip
pulumi up --stack dev

The deployed URL will be printed at the end of the run. You can test the deployed lambda with:

curl $(pulumi stack --stack dev output publishedUrl) 

Cleaning up

pulumi destroy --stack dev

About

External service to be used as part of "Writing Test-Driven Apps with http4k" workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages