This is a serverless application comprised of an API, several Lambda function and a DynamoDB table.
First install dependencies (npm install
) then you can run locally with npm run local
. This will create an API running on PORT 4000 and populate a local DynamoDB database with the contents of dynamodb-seeds/artists.json
.
This is deplyed using the serverless
command line tool. serverless deploy --stage <stagename>
Any dependencies that are needed for this project are deployed as a common layer shared between all of the lambda functions. To add dependencies, add them to common-libs-layer/nodejs
.
Artist and Album lookup uses the MusicBrainz. Additional functionality could be added in the future.