RepoPremortem – Preemptive Repo Analysis Tool

Inspiration

Developers often spend hours fixing bugs that could have been prevented if risky commits were caught early. I wanted to build a tool that analyzes a repository before issues occur, helping teams save time and maintain high code quality. I was inspired by the concept of "pre-mortem analysis" in project management — thinking ahead to prevent problems before they happen.

What I Learned

  • How to interact with the GitHub API to fetch repository data.
  • Implementing automated code analysis and risk detection.
  • Integrating a frontend dashboard with a backend analysis engine.
  • Best practices for deploying full-stack applications using Netlify and Render.

How I Built It

RepoPremortem is a full-stack web application built using:

  • Frontend:Next.js, React, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database:MongoDB (optional depending on features)
  • Cloud/Deployment:Netlify for frontend, Render for backend
  • APIs/Integrations:Gemini API for repo data
  • Other Tools: GitHub Actions for CI/CD, charting libraries for dashboards

The workflow is simple:

  1. User provides their GitHub repository.
  2. RepoPremortem scans the repo for potential risks.
  3. The dashboard shows detected issues and suggestions to prevent bugs.
  4. Teams can proactively fix risks before they impact production.

Challenges

  • Handling GitHub API rate limits while scanning repositories.
  • Designing an intuitive dashboard that clearly communicates risks.
  • Ensuring frontend and backend deployments work seamlessly together.
  • Animating results in the dashboard for clear visual impact.

Built With

  • chart.js
  • css-**frameworks:**-next.js
  • express.js-**databases:**-mongodb-(optional)-**cloud/platforms:**-netlify
  • html
  • languages:**-javascript
  • react
  • render-**apis:**-github-api-**other-tools:**-tailwind-css
Share this project:

Updates