Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chronark/highstorm
Open Source Event Monitoring
https://github.com/chronark/highstorm
Last synced: 25 days ago
JSON representation
Open Source Event Monitoring
- Host: GitHub
- URL: https://github.com/chronark/highstorm
- Owner: chronark
- License: agpl-3.0
- Created: 2023-04-03T15:45:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T14:31:27.000Z (11 months ago)
- Last Synced: 2024-10-01T16:22:06.461Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://highstorm.app
- Size: 12.3 MB
- Stars: 3,246
- Watchers: 29
- Forks: 350
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-codebases - Highstorm - Open Source Event Monitoring (**Awesome Codebases** [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome))
README
Sadly I don't have the time to maintain this project. I'm building unkey.dev to solve API authentication and authorization with DX in mind. It's also 100% open source!
Highstorm
Open Source Event Monitoring
## Contributing
Thank you for considering contributing to our open source project! We appreciate your interest and are excited to have you on board. This document outlines the steps you need to follow to contribute to the project effectively. Please read the guidelines carefully and feel free to reach out if you have any questions.
### Services
Before getting started, please ensure that you have the following third-party services set up:
- [planetscale](https://planetscale.com?ref=highstorm): Database
- [tinybird](https://www.tinybird.co?ref=highstorm): Time series database
- [upstash](https://upstash.com/qstash?ref=highstorm): Optional, only required for reports
- [clerk](https://clerk.com?ref=highstorm): Authentication## Installation
To install the project and its dependencies, follow these steps:
1. Ensure you have `pnpm` installed on your system. If not, you can install it by running:
```sh-session
npm install -g pnpm
```2. Run the following command to install the project dependencies:
```sh-session
pnpm install
```### Environment Variables
After setting up the required services, you need to set the corresponding environment variables in the `/apps/web/.env` file. To do this, follow these steps:
1. Make a copy of the `.env.example` file:
```sh-session
cp apps/web/.env.example apps/web/.env
```
2. Open the `/apps/web/.env` file in a text editor and populate the values for the services mentioned above.## Database Preparation
### Prisma
To prepare the Prisma database, follow these steps:
1. Navigate to the `/apps/web` directory:
```sh-session
cd apps/web
```
2. Run the following command to push the database schema and generate Prisma Client:
```sh-session
npx prisma db push
```### Tinybird
To prepare the Tinybird database, follow these steps:
1. Download the Tinybird CLI from [here](https://www.tinybird.co/docs/cli.html) and install it on your system.
2. After authenticating with the Tinybird CLI, navigate to the `/apps/web/lib/tinybird` directory:
```sh-session
cd apps/web/lib/tinybird
```
3. Push the necessary datasources using the following command:
```sh-session
tb push datasources/
tb push
```**Note: If the CLERK_WEBHOOK_SECRET env variable is not set, pass an empty string, and make sure to visit `/onboarding` after signing up.**
## Build
To build the project, execute the following command:
```sh-session
pnpm build
```## Run
To run the project locally, use the following command:
```sh-session
pnpm turbo run dev --filter=web
```