{"id":31125047,"url":"https://github.com/mr-aj33t/lead-management-module","last_synced_at":"2026-04-09T18:13:47.132Z","repository":{"id":315286039,"uuid":"1058881062","full_name":"Mr-aj33t/Lead-Management-Module","owner":"Mr-aj33t","description":"A comprehensive solution for tracking and managing business leads effectively","archived":false,"fork":false,"pushed_at":"2025-09-17T18:25:15.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T19:50:18.784Z","etag":null,"topics":["aws","docker","exppress-js","jwt-authentication","jwt-token","mongodb-database","nodejs","react-router","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mr-aj33t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-17T17:14:26.000Z","updated_at":"2025-09-17T18:25:18.000Z","dependencies_parsed_at":"2025-09-17T20:02:12.408Z","dependency_job_id":null,"html_url":"https://github.com/Mr-aj33t/Lead-Management-Module","commit_stats":null,"previous_names":["mr-aj33t/-lead-management-module"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Mr-aj33t/Lead-Management-Module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-aj33t%2FLead-Management-Module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-aj33t%2FLead-Management-Module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-aj33t%2FLead-Management-Module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-aj33t%2FLead-Management-Module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-aj33t","download_url":"https://codeload.github.com/Mr-aj33t/Lead-Management-Module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-aj33t%2FLead-Management-Module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275658802,"owners_count":25504780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","docker","exppress-js","jwt-authentication","jwt-token","mongodb-database","nodejs","react-router","reactjs","tailwindcss"],"created_at":"2025-09-17T20:40:59.134Z","updated_at":"2025-09-17T20:41:02.963Z","avatar_url":"https://github.com/Mr-aj33t.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Lead Management Application\n\nA full-stack Lead Management System built with React, TypeScript, Node.js, Express, and MongoDB. This application allows you to capture, view, and manage leads with a clean, responsive interface.\n\n## ✨ Features\n\n- **Lead Capture Form** with client and server-side validation\n- **Lead Listing** with pagination and status filtering\n- **Responsive Design** that works on all device sizes\n- **Real-time Updates** with toast notifications\n- **Type Safety** with TypeScript throughout the stack\n- **Modern UI** built with Tailwind CSS\n\n## 🛠 Tech Stack\n\n- **Frontend**: React 18, TypeScript, Vite, Tailwind CSS, React Hook Form, React Router\n- **Backend**: Node.js, Express, MongoDB, Mongoose\n- **Development Tools**: ESLint, Prettier, TypeScript\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v16+)\n- npm or yarn\n- MongoDB (local or MongoDB Atlas)\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone (https://github.com/Mr-aj33t/-Lead-Management-Module)\n   cd Lead-Management-Module\n   ```\n\n2. **Install dependencies**\n   ```bash\n   # Install root dependencies\n   npm install\n   \n   # Install frontend dependencies\n   cd client\n   npm install\n   \n   # Install backend dependencies\n   cd ../server\n   npm install\n   cd ..\n   ```\n\n3. **Set up environment variables**\n   Create a `.env` file in the root directory with the following variables:\n   ```env\n   PORT=5001\n   MONGODB_URI=mongodb://localhost:27017/lead_management\n   NODE_ENV=development\n   ```\n\n4. **Start the development servers**\n   ```bash\n   # Start both frontend and backend in development mode\n   npm run dev:all\n   ```\n   This will start:\n   - Frontend at http://localhost:5173\n   - Backend at http://localhost:5000\n\n## 🏗 Project Structure\n\n```\nlead-task-fullstack-enhanced/\n├── client/                 # Frontend React application\n│   └── src/                # Source files\n│       ├── components/      # Reusable UI components\n│       ├── pages/           # Page components\n│       ├── utils/           # Utility functions\n│       ├── App.tsx          # Main App component\n│       └── main.tsx         # Entry point\n│\n├── server/                 # Backend Express application\n│   ├── config/             # Configuration files\n│   ├── controllers/        # Route controllers\n│   ├── models/             # MongoDB models\n│   ├── routes/             # API routes\n│   └── index.js            # Server entry point\n│\n├── .env                   # Environment variables\n├── package.json           # Root package.json\n└── README.md              # This file\n```\n\n## 🚀 Available Scripts\n\n- `npm run dev` - Start frontend development server\n- `npm run server` - Start backend server\n- `npm run server:dev` - Start backend server with nodemon\n- `npm start` - Start both frontend and backend in production mode\n- `npm run dev:all` - Start both frontend and backend in development mode\n- `npm run build` - Build frontend for production\n\n## 🧪 Testing the Application\n\n1. **Frontend**: Open http://localhost:5173 in your browser\n2. **Backend API**: Test endpoints at http://localhost:5000/api\n\n## 📝 API Endpoints\n\n### Leads\n- `GET /api/leads` - Get all leads with pagination\n  - Query params: `page`, `limit`, `status`\n  - Example: `GET /api/leads?page=1\u0026limit=10\u0026status=new`\n\n- `POST /api/leads` - Create a new lead\n  - Body: `{ name: string, email: string, phone: string, notes?: string }`\n  - Example: \n    ```json\n    {\n      \"name\": \"John Doe\",\n      \"email\": \"john@example.com\",\n      \"phone\": \"+1234567890\",\n      \"notes\": \"Interested in premium plan\"\n    }\n    ```\n\n## 🛠 Built With\n\n- [React](https://reactjs.org/) - Frontend library\n- [TypeScript](https://www.typescriptlang.org/) - Type-safe JavaScript\n- [Vite](https://vitejs.dev/) - Frontend build tool\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework\n- [Express](https://expressjs.com/) - Backend framework\n- [MongoDB](https://www.mongodb.com/) - NoSQL database\n- [Mongoose](https://mongoosejs.com/) - MongoDB object modeling\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://opensource.org/license/MIT) file for details.\n\n---\n\nMade with ❤️ by Ajeet Kumar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-aj33t%2Flead-management-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-aj33t%2Flead-management-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-aj33t%2Flead-management-module/lists"}