{"id":24765908,"url":"https://github.com/rabbihossainlhp/mobileapp_api","last_synced_at":"2026-04-10T04:46:56.887Z","repository":{"id":272270800,"uuid":"916035591","full_name":"rabbihossainlhp/MobileApp_API","owner":"rabbihossainlhp","description":"basic api with db like mysql","archived":false,"fork":false,"pushed_at":"2025-01-18T15:25:05.000Z","size":1386,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T23:17:21.757Z","etag":null,"topics":["api","appapi","backend"],"latest_commit_sha":null,"homepage":"https://mobileappapi-production.up.railway.app/","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/rabbihossainlhp.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-13T10:33:40.000Z","updated_at":"2025-01-18T15:25:07.000Z","dependencies_parsed_at":"2025-01-13T11:41:25.239Z","dependency_job_id":"800c6616-88f3-464e-8584-13b764b9d151","html_url":"https://github.com/rabbihossainlhp/MobileApp_API","commit_stats":null,"previous_names":["rabbihossainlhp/mobileapp_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbihossainlhp%2FMobileApp_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbihossainlhp%2FMobileApp_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbihossainlhp%2FMobileApp_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rabbihossainlhp%2FMobileApp_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rabbihossainlhp","download_url":"https://codeload.github.com/rabbihossainlhp/MobileApp_API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245137453,"owners_count":20566758,"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","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":["api","appapi","backend"],"created_at":"2025-01-28T23:17:38.128Z","updated_at":"2025-12-30T20:06:41.135Z","avatar_url":"https://github.com/rabbihossainlhp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobileApp_API\n\nThis project is a basic API with MySQL database integration.\n\n## Project Summary\n\nThis project provides a basic API that interacts with a MySQL database. It includes CRUD operations for managing data.\n\n## Key Features\n\n- Basic API setup with Node.js and Express\n- MySQL database integration\n- CRUD operations (Create, Read, Update, Delete)\n\n## Setup Instructions\n\n### Prerequisites\n  \n- Node.js installed\n- MySQL database setup\n\n### Installation\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/rabbihossainlhp/MobileApp_API.git\n\n\n# District Information API\n\nThis is a simple API for managing district information. It allows you to create, update, retrieve, and delete district information.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Environment Variables](#environment-variables)\n- [Running the API](#running-the-api)\n- [API Endpoints](#api-endpoints)\n- [Error Handling](#error-handling)\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/your-repo-name.git\n   cd your-repo-name \n\n2. Install the dependencies:\n    ```bash\n   npm install\n\n3. environment variable should like this:\n\n    ```bash\n    DB_HOST=your_database_host\n    DB_USER=your_database_user\n    DB_PASSWORD=your_database_password\n    DB_NAME=District_Info\n    DB_PORT=3306\n    PORT=3535\n\n   # Replace the placeholder values with your actual database credentials.\n\n##Running the API\n\n1. Start the server:\n    ```bash\n   npm start\n2. The server will be running at http://localhost:3535.\n\n## API Endpoints\n   The live API is hosted at: https://mobileappapi-production.up.railway.app/\n\n   Create a District\n\n    URL: /api/create-item\n    Method: POST\n    Body:\n      {\n        \"name\": \"District Name\",\n        \"description\": \"District Description\"\n      }\n    \n   Response:\n\n      201 Created\n      500 Internal Server Error\n\n\n   Get single Items\n\n    URL: /api/singleitem/:id\n    Method: GET\n   \n    \n   Response:\n   \n      201 Created\n      404 Not Found\n      500 Internal Server Error  \n\n\n   Update single Items\n\n    URL: /api/updateitem/:id\n    Method: POST\n        Body:\n      {\n        \"name\": \"District Name\",\n        \"description\": \"District Description\"\n      }  \n   \n    \n   Response:\n   \n      201 Updated\n      404 Not Found\n      500 Internal Server Error  \n\n\n   Delete single Items\n\n    URL: /api/updateitem/:id\n    Method: POST\n        Body:\n      {\n        \"name\": \"District Name\",\n        \"description\": \"District Description\"\n      }  \n   \n    \n   Response:\n   \n      201 Deleted\n      404 Not Found\n\n\n\n  Get all Items\n\n    URL: /api/allitem/\n    Method: GET\n   \n    \n   Response:\n   \n      201 SuccessFully founded all info\n      404 Not Found\n   ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabbihossainlhp%2Fmobileapp_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frabbihossainlhp%2Fmobileapp_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabbihossainlhp%2Fmobileapp_api/lists"}