Skip to content
No description, website, or topics provided.
JavaScript TypeScript HTML CSS
Branch: master
Clone or download
Latest commit 368a7cb Jul 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci pass --frozen-lockfile to yarn install command Jun 24, 2019
.vscode fix test launch configuration Feb 25, 2019
cicd
frontend fix frontend build Jun 24, 2019
images add architecture image Feb 24, 2019
services update seed data Jul 3, 2019
.gitignore initial commit Feb 17, 2019
.prettierrc initial commit Feb 17, 2019
LICENSE initial commit Feb 17, 2019
README.md update readme Jul 14, 2019
buildspec.yml pass --frozen-lockfile to yarn install command Jun 24, 2019
lerna.json
package.json update libs Jun 24, 2019
yarn.lock fix frontend build Jun 24, 2019

README.md

Serverless Monitoring App

License: MIT

Architecture

Application architecture

Prerequisites

Nodejs (at least version 10)

Yarn

Amazon AWS account and awscli installed and configured: https://aws.amazon.com/getting-started/

Serverless CLI

Repository structure

This repository uses lerna and yarn workspaces to handle dependencies.

The React frontend app sits under frontend/.

"Back-end" services sit under services/.

Typescript is used across the repository.

Setup

Install Dependencies

yarn install

Setup environment file

cp -f services/monitoring-common/environment/config.example.json services/monitoring-common/environment/config.dev.json
sed -i 's/REGION_VALUE/us-east-1/g' services/monitoring-common/environment/config.dev.json
sed -i 's/ADMIN_EMAIL_VALUE/your@email.address/g' services/monitoring-common/environment/config.dev.json

Deploy

Deploy all services and frontend

yarn deployAndRunE2eTests --commitId "0000000000000000" --stage dev --forceAll true

Run Prettier

yarn prettier

Run Linter

yarn lint

Run Tests

yarn test
yarn coverage

Cleanup

Removes all services and frontend

yarn remove:all:dev
You can’t perform that action at this time.