Skip to content

times/serverless-modern-slavery-api

Repository files navigation

Modern Slavery API

Codeship Status for times/serverless-modern-slavery-api

Endpoints

[POST] {url}/store - store a prediction value

Body

application/json
{
	"value": 34020
}

Requirements

  • Node.js >8 installed globally on your machine
  • serverless installed globally on your machine
  • Access to an Amazon Web Services account

Usage

This is a Serverless app for AWS Lambda.

For Lambda, handler.js handles core requests and passes them to the main app in app/main.js. You can run this locally as follows:

$ yarn start

Deployment

The skill is deployed to AWS Lambda via Serverless:

$ yarn deploy --profile= --deploymentBucket=

See the Serverless docs for additional deployment commands.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published