{"id":23551682,"url":"https://github.com/utkarsh1504/api-bacosmo","last_synced_at":"2026-07-18T13:32:18.344Z","repository":{"id":231753857,"uuid":"782449454","full_name":"Utkarsh1504/api-bacosmo","owner":"Utkarsh1504","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-05T17:48:31.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T00:11:31.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Utkarsh1504.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-04-05T10:22:50.000Z","updated_at":"2024-04-05T10:26:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd7325ef-309b-4ffa-aa62-5a1fd7c94087","html_url":"https://github.com/Utkarsh1504/api-bacosmo","commit_stats":null,"previous_names":["utkarsh1504/api-bacosmo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Utkarsh1504/api-bacosmo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Utkarsh1504%2Fapi-bacosmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Utkarsh1504%2Fapi-bacosmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Utkarsh1504%2Fapi-bacosmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Utkarsh1504%2Fapi-bacosmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Utkarsh1504","download_url":"https://codeload.github.com/Utkarsh1504/api-bacosmo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Utkarsh1504%2Fapi-bacosmo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35619777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":[],"created_at":"2024-12-26T10:27:30.018Z","updated_at":"2026-07-18T13:32:18.327Z","avatar_url":"https://github.com/Utkarsh1504.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Backend for Library Management System\n\nThis project is an API backend for the Library Management System. It provides endpoints to manage student records in the library system using FastAPI and MongoDB. Additionally, the backend is deployed and accessible [here](#deployed-backend).\n\n\n## Table of Contents\n- [Project Structure](#project-structure)\n- [Setup](#setup)\n- [API Documentation](#api-documentation)\n- [Environment Variables](#environment-variables)\n- [Dependencies](#dependencies)\n\n## Project Structure\n\nThe project follows a modular structure with the following directories:\n\n- `config/`: Contains configuration files for database connection settings.\n- `models/`: Defines data models used in the application, such as the `Student` model.\n- `routes/`: Contains route handlers for different API endpoints.\n- `schema/`: Defines Pydantic schemas for serialization and deserialization.\n- `main.py`: Entry point of the FastAPI application.\n- `.env.sample`: Sample `.env` file for configuring environment variables.\n- `requirements.txt`: List of Python dependencies required by the project.\n- `.gitignore`: Specifies files and directories to be ignored by Git.\n\n## Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Utkarsh1504/api-bacosmo.git\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Rename `.env.sample` to `.env` and configure environment variables.\n\n5. Start the FastAPI server:\n\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n## API Documentation\n\nThe API endpoints are documented using Swagger UI. Once the server is running, you can access the documentation at:\n\n```\nhttp://localhost:8000/docs\n```\n\n## Environment Variables\n\nThe following environment variables can be configured in the `.env` file:\n\n- `MONGO_URL`: MongoDB connection URL.\n\n## Dependencies\n\nThe project uses the following main dependencies:\n\n- [FastAPI](https://fastapi.tiangolo.com/): Web framework for building APIs with Python.\n- [PyMongo](https://pymongo.readthedocs.io/): Python driver for MongoDB.\n- [python-dotenv](https://pypi.org/project/python-dotenv/): For loading environment variables from a `.env` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futkarsh1504%2Fapi-bacosmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futkarsh1504%2Fapi-bacosmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futkarsh1504%2Fapi-bacosmo/lists"}