{"id":19005417,"url":"https://github.com/anuja-rahul/modde-demo-api","last_synced_at":"2026-05-03T11:34:01.359Z","repository":{"id":252263829,"uuid":"829076879","full_name":"anuja-rahul/MODDE-demo-api","owner":"anuja-rahul","description":"demo api made for MODDE trials.","archived":false,"fork":false,"pushed_at":"2024-08-25T13:37:35.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T14:17:51.640Z","etag":null,"topics":["api","fastapi","postgresql","python","sqlalchemy"],"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/anuja-rahul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-15T17:54:26.000Z","updated_at":"2024-08-25T13:37:38.000Z","dependencies_parsed_at":"2024-08-08T18:18:28.438Z","dependency_job_id":"9409011f-eda1-4824-adab-3ebc729c1bb8","html_url":"https://github.com/anuja-rahul/MODDE-demo-api","commit_stats":null,"previous_names":["anuja-rahul/modde-demo-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anuja-rahul/MODDE-demo-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuja-rahul%2FMODDE-demo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuja-rahul%2FMODDE-demo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuja-rahul%2FMODDE-demo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuja-rahul%2FMODDE-demo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anuja-rahul","download_url":"https://codeload.github.com/anuja-rahul/MODDE-demo-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuja-rahul%2FMODDE-demo-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["api","fastapi","postgresql","python","sqlalchemy"],"created_at":"2024-11-08T18:27:27.857Z","updated_at":"2026-05-03T11:34:01.330Z","avatar_url":"https://github.com/anuja-rahul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Python](https://img.shields.io/badge/-python-000?style=for-the-badge\u0026logo=python)\n![FAST API](https://img.shields.io/badge/-fast_api-000?style=for-the-badge\u0026logo=fastapi)\n![POSTMAN](https://img.shields.io/badge/-postman-000?style=for-the-badge\u0026logo=postman)\n![PYDANTIC](https://img.shields.io/badge/-pydantic-000?style=for-the-badge\u0026logo=pydantic)\n![POSTGRES](https://img.shields.io/badge/-postgresql-000?style=for-the-badge\u0026logo=postgresql)\n![SQLALCHEMY](https://img.shields.io/badge/-sqlalchemy-000?style=for-the-badge\u0026logo=sqlalchemy)\n![JWT](https://img.shields.io/badge/-JWT-000?style=for-the-badge\u0026logo=json-web-tokens)\n\n# MODDE demo api  \n\n![GitHub](https://img.shields.io/github/forks/anuja-rahul/MODDE-demo-api?style\u0026logo=github)\n\u0026nbsp;\n![GitHub](https://img.shields.io/github/license/anuja-rahul/MODDE-demo-api?style\u0026logo=github)\n\u0026nbsp;\n![GitHub](https://img.shields.io/github/stars/anuja-rahul/MODDE-demo-api?style\u0026logo=github)\n\u0026nbsp;\n![Contributors](https://img.shields.io/github/contributors/anuja-rahul/MODDE-demo-api?style\u0026logo=github)\n\u0026nbsp;\n![Watchers](https://img.shields.io/github/watchers/anuja-rahul/MODDE-demo-api?style\u0026logo=github)\n\u0026nbsp;\n\n## Prerequisites  \n\n- [python ≥ 3.10](https://www.python.org/downloads/)\n- [postgresSQL ≥ 16.0](https://www.postgresql.org/download/)\n\n[//]: # (```mermaid)\n\n[//]: # ()\n[//]: # (```)\n\n## Getting Started  \n\n1. Clone this repository\n\n    ```bash\n    git clone https://github.com/anuja-rahul/python-fastAPI.git\n    ```\n\n2. Create a Virtual environment\n\n    ```bash\n    python -m venv venv\n    ```\n\n3. Activate the venv\n\n    ```bash\n    activate venv\n    ```\n\n4. Install the packages\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n5. Setting up the env variables:  *`required: .env`*  \n\n    ex: *for dev env*\n\n    ```bash\n    SECRET_KEY=\"Your Secret Key\"\n    ALGORITHM=\"HS256\"\n    ACCESS_TOKEN_EXPIRE_MINUTES=\"60\"\n    HOST=\"localhost\"\n    DBNAME=\"Your DB name\"\n    PORT=\"8000\"\n    USER=\"Your Username\"\n    PASSWORD=\"Your password\"\n    ```\n\n    - Note: If you have openssl, to generate a `SECRET_KEY` you can run :\n  \n        ```bash\n        openssl rand -hex 32\n        ```\n\n6. Start the uvicorn server\n\n    ```bash\n    uvicorn app.main:app --reload\n    ```\n\n## Documentation  \n\n- After starting the uvicorn server visit\n\n    for *`Swagger UI`*:\n\n    ```bash\n    http://localhost:8000/docs\n    ```\n\n    or for *`Redoc`*:\n\n    ```bash\n    http://localhost:8000/redoc\n    ```\n\n\u0026nbsp;\n\u0026nbsp;\n\u0026nbsp;\n\n![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=anuja-rahul\u0026repo=MODDE-demo-api\u0026theme=nightowl)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuja-rahul%2Fmodde-demo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanuja-rahul%2Fmodde-demo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuja-rahul%2Fmodde-demo-api/lists"}