All Projects → erezrokah → serverless-monitoring-app

erezrokah / serverless-monitoring-app

Licence: MIT License
No description, website, or topics provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Serverless Monitoring App

License: MIT

Architecture

Application architecture

Prerequisites

Nodejs (at least version 16)

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/[email protected]/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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].