Skip to content

Latest commit

Β 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ DevSetup

Diagnose. Explain. Fix.

DevSetup is a developer productivity platform that helps backend developers diagnose, understand, and resolve common application issues. It analyzes backend configurations, validates environments, checks application health, and provides actionable solutions to reduce debugging time.

The project is being built using a modern MERN stack with a production-inspired backend architecture focused on scalability, maintainability, and clean code practices.


πŸ“– Overview

Debugging backend applications can be frustrating and time-consuming. A single misconfigured environment variable, incorrect database connection, or port conflict can take hours to identify.

DevSetup Doctor simplifies this process by analyzing backend configurations, identifying common issues, and providing human-readable explanations with recommended fixes.

Instead of spending hours searching through Stack Overflow and documentation, developers receive clear diagnostics and actionable solutions.


✨ Features

βœ… Implemented

πŸ” Authentication

  • User Registration
  • User Login
  • Password Hashing (bcrypt)
  • JWT Token Generation
  • Request Validation
  • Duplicate Email Prevention
  • Repository Pattern
  • Custom Error Handling

βš™οΈ Backend Infrastructure

  • Express.js REST API
  • MongoDB Integration
  • Mongoose ODM
  • Modular Folder Structure
  • Environment Configuration
  • Winston Logger
  • Health Check API

🚧 In Progress

πŸ”’ Authentication

  • JWT Authentication Middleware
  • Protected Routes
  • Current User API (/me)
  • Role-Based Authorization

πŸ” Diagnosis Engine

  • Configuration Analysis
  • Environment Variable Validation
  • Database Connectivity Check
  • Server Health Check
  • Port Availability Check
  • Error Knowledge Base

πŸš€ Future Enhancements

  • AI-powered Diagnosis
  • Security Scanner
  • Project ZIP Upload & Analysis
  • Dependency Analysis
  • Multi-framework Support
  • PDF Report Generation
  • Docker Integration
  • CI/CD Pipeline
  • Email Notifications

πŸ› οΈ Tech Stack

Frontend

  • React
  • Vite
  • Tailwind CSS
  • Axios
  • React Router

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JSON Web Token (JWT)
  • bcryptjs
  • express-validator
  • Winston

DevOps

  • Git
  • GitHub
  • Docker (Planned)
  • GitHub Actions (Planned)

πŸ—οΈ Backend Architecture

                Client
                   β”‚
                   β–Ό
               API Routes
                   β”‚
                   β–Ό
            Request Validation
                   β”‚
                   β–Ό
              Controllers
                   β”‚
                   β–Ό
               Services
                   β”‚
                   β–Ό
             Repositories
                   β”‚
                   β–Ό
               MongoDB

πŸ“ Project Structure

devsetup-doctor/
β”‚
β”œβ”€β”€ frontend/
β”‚
β”œβ”€β”€ backend/
β”‚   └── src/
β”‚       β”œβ”€β”€ config/
β”‚       β”œβ”€β”€ database/
β”‚       β”œβ”€β”€ errors/
β”‚       β”œβ”€β”€ logger/
β”‚       β”œβ”€β”€ middlewares/
β”‚       β”œβ”€β”€ modules/
β”‚       β”‚   β”œβ”€β”€ auth/
β”‚       β”‚   └── health/
β”‚       β”œβ”€β”€ routes/
β”‚       β”œβ”€β”€ utils/
β”‚       β”œβ”€β”€ app.js
β”‚       └── server.js
β”‚
β”œβ”€β”€ docs/
β”œβ”€β”€ infrastructure/
└── README.md

πŸ“‘ Current API Endpoints

Method Endpoint Description Status
GET /api/v1/health Health Check βœ…
POST /api/v1/auth/register Register User βœ…
POST /api/v1/auth/login Login User βœ…
GET /api/v1/auth/me Current User 🚧

🎯 Current Status

πŸš€ Active Development

Completed

  • βœ… Sprint 0 – Planning & Architecture
  • βœ… Sprint 1 – Project Setup
  • βœ… Sprint 2 – Authentication

Current Focus

Building the Diagnosis Engine, which will analyze backend configurations and provide automated troubleshooting recommendations.


πŸ—ΊοΈ Roadmap

Sprint Status
βœ… Sprint 0 – Planning & Architecture Completed
βœ… Sprint 1 – Project Setup Completed
βœ… Sprint 2 – Authentication Completed
⏳ Sprint 3 – Diagnosis Engine In Progress
⏳ Sprint 4 – Dashboard Pending
⏳ Sprint 5 – Reports & History Pending
⏳ Sprint 6 – Deployment & Production Readiness Pending

πŸ“ˆ Project Progress

Planning & Architecture          β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 100%
Project Setup                    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 100%
Authentication                   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 100%
Diagnosis Engine                 β–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘  30%
Dashboard                        β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   0%
Reports & History                β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   0%
Deployment                       β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘   0%

Overall Progress

β‰ˆ 35% Complete


πŸš€ Getting Started

Clone Repository

git clone https://github.com/your-username/devsetup-doctor.git

Backend Setup

cd backend

npm install

Create a .env file.

PORT=5000

NODE_ENV=development

MONGO_URI=mongodb://127.0.0.1:27017/devsetupdoctor

JWT_SECRET=your_secret_key

JWT_EXPIRES_IN=7d

Run the backend server.

npm run dev

🀝 Contributing

We follow a Git workflow based on feature branches and Pull Requests.

feature/*
      β”‚
      β–Ό
develop
      β”‚
      β–Ό
main

Every new feature is developed in a dedicated branch, reviewed, and merged into develop before being promoted to main.


πŸ‘¨β€πŸ’» Team

  • RP – Backend Development
  • YSK – DevOps & Infrastructure
  • RJ – Frontend Development

πŸ“„ License

This project is licensed under the MIT License.


⭐ Support

If you found this project useful, consider giving it a ⭐ on GitHub.

It helps support the project and motivates future development.

About

A Developer Productivity Platform for MERN applications.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages