{"id":25626678,"url":"https://github.com/augsmachado/students-list","last_synced_at":"2026-04-17T09:31:20.923Z","repository":{"id":278843479,"uuid":"936858374","full_name":"augsmachado/students-list","owner":"augsmachado","description":"This project is a simple RESTful API built with FastAPI for managing student data","archived":false,"fork":false,"pushed_at":"2025-10-28T22:02:04.000Z","size":20,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-09T09:19:57.622Z","etag":null,"topics":["fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/augsmachado.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["augsmachado"],"custom":["http://t.ly/UJXWZ"]}},"created_at":"2025-02-21T20:13:47.000Z","updated_at":"2025-02-22T02:06:42.000Z","dependencies_parsed_at":"2025-02-22T03:18:58.817Z","dependency_job_id":"df2d9564-74e4-40c8-8216-09045857306f","html_url":"https://github.com/augsmachado/students-list","commit_stats":null,"previous_names":["augsmachado/students-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/augsmachado/students-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augsmachado%2Fstudents-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augsmachado%2Fstudents-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augsmachado%2Fstudents-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augsmachado%2Fstudents-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augsmachado","download_url":"https://codeload.github.com/augsmachado/students-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augsmachado%2Fstudents-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"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":["fastapi","python"],"created_at":"2025-02-22T16:57:57.883Z","updated_at":"2026-04-17T09:31:20.905Z","avatar_url":"https://github.com/augsmachado.png","language":"Python","funding_links":["https://github.com/sponsors/augsmachado","http://t.ly/UJXWZ"],"categories":[],"sub_categories":[],"readme":"# Students List - FastApi\n\n## Overview\n\nThis project is a simple RESTful API built with FastAPI for managing student data. It uses an in-memory dictionary to store student information, including name, age, and year. The project demonstrates basic CRUD operations with FastAPI and serves as a starting point for building more complex APIs.\n\n## 🚀 Features\n\nThe API provides the following endpoints:\n\n-   **GET/**: Returns a welcome message \"First Data\".\n-   **GET/status**: Returns the API name and version.\n-   **GET/get-student/{student_id}**: Retrieves a student by their ID using a path parameter. Returns a \"Student not found\" message if the ID doesn't exist.\n-   **GET/get-by-name**: Retrieves a student by their name using a query parameter. Returns a \"Student not found\" message if the name doesn't exist.\n-   **POST/create-student/{student_id}**: Creates a new student with the given ID. Returns a \"Student already exists\" message if the ID is already in use. Accepts a JSON payload with student data.\n-   **PUT/update-student/{student_id}**: Updates an existing student's information. Accepts a JSON payload with optional fields for name, age, and year. Returns a \"Student not found\" message if the ID doesn't exist.\n-   **DELETE/delete-student/{student_id}**: Deletes a student by their ID. Returns a \"Student deleted successfully\" message upon successful deletion or a \"Student not found\" message if the ID doesn't exist.\n\nThe API uses Pydantic models for data validation and serialization. Student model defines the required fields for creating a student, while UpdateStudent allows optional fields for updating.\n\n## 🛠 Tech Stack\n\n-   Python 3.11\n-   FastAPI\n\n## 📦 Prerequisites\n\n-   Python 3.11+\n-   pip\n\n## 🔧 Installation\n\n### 1. Clone Repository\n\n```bash\ngit clone https://github.com/augsmachado/students-list.git\ncd students-list\n```\n\n### 2. Create Virtual Environment\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n```\n\n### 3. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 🚦 Running the Application\n\n```bash\nuvicorn main:app --reload\n```\n\n### 🔍 Testing\n\n```bash\npytest\n```\n\n### 🤝 Contributing\n\nFeel free to submit issues or pull requests for improvements or bug fixes. Use the framework below:\n\n-   Fork the repository\n-   Create your feature branch\n-   Commit your changes\n-   Push to the branch\n-   Create a Pull Request\n\n### 📄 License\n\nThis project is licensed under the Apache License 2.0.\nSee the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugsmachado%2Fstudents-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugsmachado%2Fstudents-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugsmachado%2Fstudents-list/lists"}