Skip to content

IHomer/smeet

Repository files navigation

Serverless Meetup (Smeet)

A technical demo built to demonstrate event driven serverless applications in AWS.
You can visit the demo here: https://smeet.ihomer.academy

Prerequisites

Getting Started

This project contains both the infrastructure and source code. It's fairly simple to get started

  1. Go to the global infra folder.
  2. Initialize and apply the infra
terraform init
terraform apply
  1. Go to the env infra folder.
  2. Create a workspace for yourself
terraform workspace new dev-<name>
  1. Initialize and apply the infra
terraform init
terraform apply
  1. Go back to the root of the project and install all dependencies
npm install
  1. Deploy the serverless application
npx nx run smeet-api:deploy --stage dev-<name>
  1. Run the Vue application
npx nx run smeet:serve

Development

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