Note: Make sure to add some custom identifier for every storage bucket since its globally name-spaced across AWS.
git clone [https://github.com/bswaika96/serverless-stack-boilerplate.git](https://github.com/bswaika96/serverless-stack-boilerplate.git)
- Create user on your AWS IAM and give
AdministratorAccess
(save credentials somewhere safe) - Create/login serverless dashboard account
- Create APP → Serverless Framework → Enter App name and Service name
nvm use 12
yarn add global serverless
sls login
cd infra
- Change
org:
in serverless.yaml to the one you are in in serverless dashboard sls deploy --stage prod
cd ../source/services
- For each service
cd {service_name}
andsls deploy
cd ../../docs && sls deploy
source>services>users>serverless.yaml
→ org:
docs>serverless.yaml
→ org:
Note: Needs to changed for every service
Note: Use
npm install
in every directory where there ispackage.json
Copyright© 2021. Baladitya Swaika. All Rights Reserved.