Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aeswibon/dora
Implementing dora matrices using Node.js and Github APIs
https://github.com/aeswibon/dora
Last synced: about 2 months ago
JSON representation
Implementing dora matrices using Node.js and Github APIs
- Host: GitHub
- URL: https://github.com/aeswibon/dora
- Owner: aeswibon
- Created: 2024-06-06T16:03:21.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-04T15:27:54.000Z (7 months ago)
- Last Synced: 2024-11-25T01:17:40.466Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://hub.docker.com/repository/docker/aeswibon/dora
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dora metrics
This is the repository that contains the code for calculating the dora metrics. It's uses Github APIs to fetch the data and then stores it in MongoDB database. The metrics are calculated using the data stored in the database.
## How to run the code
1. Clone the repository
2. Install the dependencies using `pnpm install`
3. Copy the `.env.example` file to `.env` and fill in the required values
4. Run the script using `pnpm dump` to fetch the data from Github and store it in the database
5. Run the server using `pnpm dev`## Endpoints
`/dora` - Returns the metrics calculated using the data stored in the database
> Note: Make sure the MongoDB server is running in a replicaset as Prisma doesn't support standalone MongoDB servers for transaction