/serverless-timed-testing

Create timed multiple-choice tests for your users

Primary LanguageJavaScriptMIT LicenseMIT

Serverless Timed Tests

This is a tool for the creation and undergoing of multiple-choice tests that may or may not be time-limited.

This solution implements the following services:

Requirements

Running Locally

# Run local API Gateway
sam local start-api

# Run local front-end
cd front-end
yarn start

Deployment

# Create a bucket containing your deployments
aws s3api create-bucket --bucket my-deployment-bucket
aws cloudformation package --s3-bucket my-deployment-bucket --template template.yml --output-template-file packaged-template.yml
aws cloudformation deploy --stack-name MyServerlessTimedTests --template packaged-template.yml --capabilities CAPABILITY_IAM
cd frontend
yarn run build
aws s3 sync ./build s3://$(aws cloudformation describe-stacks --stack-name MyServerlessTimedTests | jq ".Stacks[0].Outputs[0].OutputValue") --acl public-read