Skip to content

phenixcoder/email-website-lambda-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Website Lambda Service

Based on Lambda Container Service

Developing

Runs a custom dev webserver which hosts the lambda function which can be hosted on

$ npm start

Test

Unit Tests

$ npm run test

Integration Tests

Automated Integration Tests (WIP)

Runs service using dev-server and tests using Newman test collection.

$ npm run test:newman

Manual Test

Start the environment

$ npm run build
$ docker-compose build
$ docker-compose up

In another temrinal, run:

$ curl -XPOST "http://localhost:8001/2015-03-31/functions/function/invocations" -d '{}'

Package @todo

  • Check if container repository exists (Creates if not exists) - Should be in pipeline helpers
  • npm run build
  • npm run package
  • create a release tag on Github Repo
  • publish image based on version specified by semantic release.

Deploy @todo

  • Deploy a version to service's lambda by updating the image to release build version.
  • And verify health check.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •