Skip to content

s4nt14go/serverless-stack-ext-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend SST guide

Seed Status

This implementation is based on an SST guide extended version which included chapters "Best Practices" and "Extra Credit".

Actually the backend consists of:

  • Infrastructure (this repo): Deploys S3, DynamoDB & Cognito, it doesn't change a lot and can be shared between several Serverless API stages. It uses AWS CDK with SST for deployment.
  • API: Deploys API Gateway and Lambdas, most of the development iterations are done on this repo. It uses Serverless Framework for deployment.

For the frontend and the demo link check this repo

Instructions:

Node version 14 used for development, using nvm you can:

# set Node 14 in current terminal
nvm use 14
# set Node 14 as default (new terminals will use 14)
nvm alias default 14
  • Install dependencies: npm install
  • Deploy infrastructure: npm run deploy

As these resources are used by API, first delete that API and you can do the cleanup: npm run delete

SEED walkthrough

SEED is used for the deployment pipeline, here follows a walkthrough of the configuration steps

deploy phases

deploy phases

We use an account for dev and a different one for prod:

deploy phases

deploy phases

deploy phases

deploy phases

deploy phases

deploy phases

Releases

No releases published

Packages

No packages published