PerfAnalytics is an open-source project aimed at measuring and analyzing performance metrics. It provides a comprehensive solution for gathering performance data, visualizing insights, and making informed optimizations. The project is built using NestJS for the backend, Kafka for data streaming, and Next.js for the client-side interface.
Follow these steps to get PerfAnalytics up and running:
git clone https://github.com/Trendyol/perfanalytics.git
cd perfanalytics
cd backend
yarn install
cd ../client
yarn install
cd ../lighthouse
yarn install
Open the backend/.env file and configure any necessary environment variables, such as database connections or API keys.
Open the lightouse/.env file and configure any necessary environment variables, such as Kafka connection information.
Open the client/.env.local file and set any environment variables required for the frontend.
cd backend
yarn start:dev
cd client
yarn dev
cd lighthouse
yarn start
The project includes a GitHub Actions workflow for continuous integration. The workflow includes the following jobs:
Pre-check: Checks for changes in the client and backend code and triggers corresponding jobs if changes are detected.
Client: Builds and deploys the client application.
Backend: Builds and deploys the backend application.
Lighthouse: Builds and deploys the lighthouse application.
We welcome contributions! If you'd like to contribute to PerfAnalytics.
This project is licensed under the MIT License.