{"id":15142590,"url":"https://github.com/lavacandy1/basic-student-management-api","last_synced_at":"2026-02-25T23:03:02.629Z","repository":{"id":257200950,"uuid":"857591593","full_name":"LavaCandy1/Basic-Student-Management-API","owner":"LavaCandy1","description":"Basic API working on FastAPI","archived":false,"fork":false,"pushed_at":"2024-09-15T05:41:20.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T19:52:46.394Z","etag":null,"topics":["backend","fastapi","python","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/LavaCandy1.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":"2024-09-15T04:16:05.000Z","updated_at":"2025-06-21T06:33:55.000Z","dependencies_parsed_at":"2024-09-15T09:25:35.365Z","dependency_job_id":"db407a65-331b-42ce-a14e-e0ac98ef47af","html_url":"https://github.com/LavaCandy1/Basic-Student-Management-API","commit_stats":null,"previous_names":["lavacandy1/basic-student-management-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LavaCandy1/Basic-Student-Management-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LavaCandy1%2FBasic-Student-Management-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LavaCandy1%2FBasic-Student-Management-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LavaCandy1%2FBasic-Student-Management-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LavaCandy1%2FBasic-Student-Management-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LavaCandy1","download_url":"https://codeload.github.com/LavaCandy1/Basic-Student-Management-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LavaCandy1%2FBasic-Student-Management-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267029407,"owners_count":24024199,"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-07-25T02:00:09.625Z","response_time":70,"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":["backend","fastapi","python","rest-api"],"created_at":"2024-09-26T09:42:58.321Z","updated_at":"2025-09-17T21:49:09.828Z","avatar_url":"https://github.com/LavaCandy1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI Student Management API\n\nThis is a basic RESTful API built using FastAPI that simulates managing a collection of students. It provides endpoints to get, add, update, and delete student records.\n\n## Prerequisites\n\n- Python 3.8 or later\n- FastAPI\n- Uvicorn (for running the server)\n- Pydantic (for data validation)\n\n## Installation\n\n1. Clone the repository or copy the project files.\n2. Install the required dependencies:\n   pip install -r requirements.txt\n\n3. Run the FastAPI app using Uvicorn:\n   uvicorn [filename}:testApp --reload\n   Replace {filename} with the name of the Python file containing the FastAPI code.\n\n4. Navigate to http://127.0.0.1:8000 to access the API.\n\n## Endpoints\n\n1. \"/\" -\u003e basic home endpoint\n\n- GET Methods\n\n2. \"/get\" -\u003e get details of all students\n3. \"/get/{student_id}\" -\u003e get details of a perticular student\n4. \"/get-by-name\" -\u003e get details of student using name\n\n- POST Methods\n\n5. \"/create-student/{student_id}\" -\u003e create a new student using student id\n\n- PUT Methods (update)\n\n6. \"/update-student/{student_id}\" -\u003e update details of a student using student id\n   Request body with optional fields for updating\n   {\n   \"Name\": \"John\",\n   \"Age\": 22,\n   \"Year\": \"4\"\n   }\n\n- DELETE Methods\n\n7. \"/delete\" -\u003e delete student details using student id\n   student_id in request body\n\n## Data Model\n\n- Student\n\n  {\n  \"Name\": \"string\",\n  \"Age\": \"integer\",\n  \"Year\": \"integer\"\n  }\n\n- UpdateStudent\n\n  {\n  \"Name\": \"string (optional , default = None)\",\n  \"Age\": \"integer (optional , default = None)\",\n  \"Year\": \"integer (optional , default = None)\"\n  }\n\n## Running API\n\nYou can test the API using any API client like Postman or cURL, or directly through **the built-in FastAPI documentation** available at http://127.0.0.1:8000/docs.\n\nThis `README.md` file includes details about how to set up and run your FastAPI project, the available API endpoints, and the data models used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flavacandy1%2Fbasic-student-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flavacandy1%2Fbasic-student-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flavacandy1%2Fbasic-student-management-api/lists"}