0.0.5 • Published 2 years ago

@vtcaregorodtcev/remark-aws-backend v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

aws-rest-api-serverless-lambda

Open-source hands-on guide to build real production ready rest api in Serverless manner

Flow

  1. Create Id and Key on AWS console in "Access keys (access key ID and secret access key)" tab.
  2. See ./sls/profiles in repository to set or get available profiles names.
  3. Create or update ~/.aws/config and ~/.aws/credentials on your machine to setup profiles in both files which you got on 2nd step.
[remark]
aws_access_key_id=YOUR_ID
aws_secret_access_key=YOUR_KEY
  1. Use alias for your profile dev, prod etc. for ENV variable.
  2. After deploy you can check your api services and test endpoints.

Build

pnpm build

Deploy

If build is packaged: pnpm deploy-package

Deploy entirely: pnpm deploy

To specify custom profile: PROFILE=local pnpm deploy

To specify another region PROFILE=local REGION=us-west-2 pnpm deploy

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago