Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 629 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 629 Bytes

Serverless Demo Project

flow diagram

Prerequisites

  • AWS Account
  • Node and npm
  • Serverless CLI

Commands to deploy project to AWS

Install all the dependencies

npm install

Install sharp dependency of linux platform for AWS

npm install --arch=x64 --platform=linux --target=12.13.0 sharp

Run configuration script

npm run prestart

Build serverless package

sls package

Deploy serverless package

sls deploy

Follow this link for API reference.