Skip to content

AndySeymour2904/imperial-lfe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imperial-lfe

http://imperial-lfe.s3-website.eu-west-2.amazonaws.com/

Development

npm start

Deployment

Install AWS client:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html

Deployment requires AWS CLI to be configured, IAM user: imperial-lfe-cli:

aws configure

Frontend

npm run build
npm run deploy

This uploads the build folder to S3

Backend

Get serverless;

npm install -g serverless

Deploy:

cd backend-service
sls deploy -v

This deploys the backend through API Gateway, DynamoDB, Lambdas and CloudFormation

Email templates

aws ses delete-template --template-name TestTemplate
aws ses create-template --cli-input-json file://backend-service/SES/TestTemplate.json

View:

aws ses list-templates

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published