{"id":24782226,"url":"https://github.com/rakkkkkesh/dynamic_issue_tracker","last_synced_at":"2026-04-10T11:02:39.494Z","repository":{"id":274464774,"uuid":"922982153","full_name":"rakkkkkesh/dynamic_issue_tracker","owner":"rakkkkkesh","description":"Dynamic Issue Tracking Table built with React, Express, and MySQL. This app allows users to manage and track issues with features like adding, updating, deleting, and viewing issues. It provides a responsive table view with real-time loading state and image support for each issue.","archived":false,"fork":false,"pushed_at":"2025-01-27T13:13:27.000Z","size":2120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T12:06:57.193Z","etag":null,"topics":["bootstrap","express","mysql","nodejs","react"],"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/rakkkkkesh.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}},"created_at":"2025-01-27T12:48:57.000Z","updated_at":"2025-01-27T13:17:21.000Z","dependencies_parsed_at":"2025-01-27T14:37:56.647Z","dependency_job_id":null,"html_url":"https://github.com/rakkkkkesh/dynamic_issue_tracker","commit_stats":null,"previous_names":["rakkkkkesh/dynamic_issue_tracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rakkkkkesh/dynamic_issue_tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakkkkkesh%2Fdynamic_issue_tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakkkkkesh%2Fdynamic_issue_tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakkkkkesh%2Fdynamic_issue_tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakkkkkesh%2Fdynamic_issue_tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakkkkkesh","download_url":"https://codeload.github.com/rakkkkkesh/dynamic_issue_tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakkkkkesh%2Fdynamic_issue_tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31639524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","express","mysql","nodejs","react"],"created_at":"2025-01-29T11:16:34.191Z","updated_at":"2026-04-10T11:02:39.478Z","avatar_url":"https://github.com/rakkkkkesh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic Issue Tracker\n\nA full-stack web application for managing issues dynamically, featuring a React frontend, Node.js/Express backend, and MySQL database.\n\n## Features\n\n- **View Issues**: Retrieve and display all issues from the database.\n- **Add Issues**: Add new issues with details such as location, category, severity, and more.\n- **Edit Issues**: Update issue details directly through the frontend.\n- **Delete Issues**: Remove issues from the database with confirmation.\n- **Image Support**: Upload and display images for each issue.\n\n---\n\n## Prerequisites\n\n1. **Node.js** (v14 or higher)\n2. **MySQL** (v8.0 or higher)\n3. **npm**\n\n---\n\n## Installation and Setup\n\n### 1. Clone the Repository\n```bash\ngit clone [(https://github.com/rakkkkkesh/dynamic_issue_tracker.git)]\ncd dynamic-issue-tracking-table\n```\n\n### 2. Set Up the Backend\n\n1. Navigate to the backend directory:\n    cd dynamic-issue-tracking-table\n\n2. Install dependencies:\n    npm install\n\n3. Configure the MySQL database:\n   - Open the code and ensure the database connection in the `db` object matches your MySQL setup:\n     ```javascript\n     const db = mysql.createConnection({\n       host: 'localhost',\n       user: 'root',\n       password: 'root',\n       database: 'issue_tracker',\n     });\n     ```\n   - Create a database in MySQL:\n     ```sql\n     CREATE DATABASE issue_tracker;\n     ```\n   - Create a table for issues:\n     ```sql\n     CREATE TABLE issues (\n       id INT AUTO_INCREMENT PRIMARY KEY,\n       location VARCHAR(255),\n       category VARCHAR(255),\n       subcategory VARCHAR(255),\n       description TEXT,\n       severity VARCHAR(50),\n       imagePath VARCHAR(255),\n       referenceCode1 VARCHAR(255),\n       referenceCode2 VARCHAR(255)\n     );\n     ```\n\n   - Insert a data for issues:\n     ```sql\n     \n      INSERT INTO issues (location, category, subcategory, description, severity, imagePath, referenceCode1, referenceCode2)\n      VALUES\n      ('Bathroom', 'Plumbing \u0026 Fixtures', 'Shower', 'Shower head has low water pressure.', 'Moderate', '/Images/low_pressure_shower.jpg', 'B2 PL', 'S 3'),\n      ('Bedroom', 'Electrical Work', 'Wiring', 'Exposed wires near the bedside table, potential hazard.', 'Critical', '/Images/exposed_wires.jpg', 'B2 EL', 'S 4'),\n      ('Hallway', 'Plumbing \u0026 Fixtures', 'Pipe', 'Burst pipe in the hallway, flooding the floor.', 'Critical', '/Images/burst_pipe.jpg', 'H2 PL', 'S 5'),\n      ('Kitchen', 'Electrical Work', 'Oven', 'Oven is not turning on, malfunctioning electrical wiring.', 'Critical', '/Images/oven_failure.jpg', 'K2 EL', 'S 6'),\n      ('Garage', 'Plumbing \u0026 Fixtures', 'Water Heater', 'Water heater making a loud noise, possible malfunction.', 'Moderate', '/Images/loud_water_heater.jpg', 'G2 PL', 'S 7'),\n      ('Living Room', 'Electrical Work', 'Sockets', 'Power outlets not working, possibly due to tripped circuit.', 'Moderate', '/Images/outlet_problem.jpg', 'L2 EL', 'S 8'),\n      ('Dining Room', 'Plumbing \u0026 Fixtures', 'Faucet', 'Faucet leaking from the base when turned on.', 'Moderate', '/Images/leaking_faucet.jpg', 'D2 PL', 'S 9'),\n      ('Bathroom', 'Electrical Work', 'Fan', 'Exhaust fan not working, needs repair or replacement.', 'Moderate', '/Images/fan_failure.jpeg', 'B2 EL', 'S 10');\n      \n           ```\n\n4. Start the backend server:\n    ```bash\n    nodemon server.js\n    ```\n    The backend will run at `http://localhost:3000`.\n\n### 3. Set Up the Frontend\n\n1. Navigate to the frontend directory:\n    ```bash\n    cd dynamic-issue-tracking-table\n    ```\n\n2. Install dependencies:\n    ```bash\n    npm install\n    ```\n\n3. Build the frontend for production:\n    ```bash\n    npm run build\n    ```\n    \n4. Start the development server:\n    ```bash\n    npm start\n    ```\n    The frontend will run at `http://localhost:3000`.\n\n---\n\n## API Endpoints\n\n### Backend\n\n- **GET /issues**: Retrieve all issues.\n- **POST /issues**: Add a new issue.\n  - Body parameters:\n    ```json\n    {\n      \"location\": \"string\",\n      \"category\": \"string\",\n      \"subcategory\": \"string\",\n      \"description\": \"string\",\n      \"severity\": \"string\",\n      \"imagePath\": \"string\",\n      \"referenceCode1\": \"string\",\n      \"referenceCode2\": \"string\"\n    }\n    ```\n- **PUT /issues/:id**: Update an issue by ID.\n  - Body parameters: Same as POST.\n- **DELETE /issues/:id**: Delete an issue by ID.\n\n---\n\n## Usage\n\n1. Open the application at `http://localhost:3000`.\n2. Interact with the issue tracker to:\n   - Add new issues.\n   - Edit existing issues.\n   - View the list of issues.\n   - Delete issues as needed.\n\n---\n\n## Project Structure\n\n```\ndynamic-issue-tracking-table\n├── build\n├── node_modules\n├── public\n|   ├── Images\n|   |     └── Your all images are here\n|   ├── index.html\n|   ├── manifest.json\n├── src\n│   ├── Components\n|   |       ├── DeleteConfirmation.jsx\n|   |       ├── EditModal.jsx\n|   |       ├── Table.jsx\n│   └── App.js\n|   ├── index.js\n|   ├── reportWebVitals.js\n├── .gitignore\n├── package-lock.json\n├── package.json\n├── README.md\n├── server.js\n```\n\n---\n\n## Notes\n\n- Ensure the MySQL database is running and accessible before starting the backend.\n- Configure CORS if accessing the backend from a different origin.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakkkkkesh%2Fdynamic_issue_tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakkkkkesh%2Fdynamic_issue_tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakkkkkesh%2Fdynamic_issue_tracker/lists"}