A technical demo built to demonstrate event driven serverless applications in AWS.
You can visit the demo here: https://smeet.ihomer.academy
- Terraform (https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)
- Node.js LTS (https://nodejs.org/en/download/)
This project contains both the infrastructure and source code. It's fairly simple to get started
- Go to the global infra folder.
- Initialize and apply the infra
terraform init
terraform apply
- Go to the env infra folder.
- Create a workspace for yourself
terraform workspace new dev-<name>
- Initialize and apply the infra
terraform init
terraform apply
- Go back to the root of the project and install all dependencies
npm install
- Deploy the serverless application
npx nx run smeet-api:deploy --stage dev-<name>
- Run the Vue application
npx nx run smeet:serve
This project uses NX for library and application management.
Furthermore the Serverless Framework is being used to manage the serverless application.
Deploy the serverless application
npx nx run smeet-api:deploy --stage <stage-name>
Run the Vue application locally
npx nx run smeet:serve