https://github.com/erezrokah/serverless-monitoring-app
https://github.com/erezrokah/serverless-monitoring-app
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/erezrokah/serverless-monitoring-app
- Owner: erezrokah
- License: mit
- Created: 2019-02-17T11:20:18.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T18:36:41.000Z (3 months ago)
- Last Synced: 2025-04-10T19:56:50.411Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.56 MB
- Stars: 17
- Watchers: 4
- Forks: 10
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless Monitoring App
[](https://opensource.org/licenses/MIT)
## Architecture

## Prerequisites
[Nodejs](https://nodejs.org/en/) (at least version 16)
[Yarn](https://yarnpkg.com/lang/en/)
Amazon AWS account and `awscli` installed and configured:
Serverless [CLI](https://serverless.com/framework/docs/getting-started/)
## Repository structure
This repository uses [lerna](https://lernajs.io/) 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
```bash
yarn install
```Setup environment file
```bash
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
```bash
yarn deployAndRunE2eTests --commitId "0000000000000000" --stage dev --forceAll true
```## Run Prettier
```bash
yarn prettier
```## Run Linter
```bash
yarn lint
```## Run Tests
```bash
yarn test
``````bash
yarn coverage
```## Cleanup
Removes all services and frontend
```bash
yarn remove:all:dev
```