{"id":20752363,"url":"https://github.com/aravind-psiog/monitor_api","last_synced_at":"2026-05-04T20:37:25.043Z","repository":{"id":182336649,"uuid":"469410659","full_name":"Aravind-psiog/Monitor_API","owner":"Aravind-psiog","description":"Pure API based app for monitoring local/cloud servers. Users can create a group, add members to the group, Members can add servers to the corresponding groups. A cron job monitors those servers and intimate the members when status of the server changes(online/offline)","archived":false,"fork":false,"pushed_at":"2024-02-05T11:22:13.000Z","size":1765,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T14:49:43.268Z","etag":null,"topics":["bot","cronjob","fastapi","python"],"latest_commit_sha":null,"homepage":"https://z3reusmmg9.execute-api.us-east-1.amazonaws.com/dev/docs","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/Aravind-psiog.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":"2022-03-13T15:23:51.000Z","updated_at":"2022-12-28T11:40:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"db190547-33c7-406f-9332-c1165f576319","html_url":"https://github.com/Aravind-psiog/Monitor_API","commit_stats":null,"previous_names":["aravind-psiog/monitor_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aravind-psiog/Monitor_API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aravind-psiog%2FMonitor_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aravind-psiog%2FMonitor_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aravind-psiog%2FMonitor_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aravind-psiog%2FMonitor_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aravind-psiog","download_url":"https://codeload.github.com/Aravind-psiog/Monitor_API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aravind-psiog%2FMonitor_API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263937716,"owners_count":23532761,"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":["bot","cronjob","fastapi","python"],"created_at":"2024-11-17T08:41:01.091Z","updated_at":"2026-05-04T20:37:19.995Z","avatar_url":"https://github.com/Aravind-psiog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS lambda\n\n![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)\n\nThe purpose of this project is to build an API with a reallife usecase and a boilerplate with\n\n- FastAPI and PostgreSQL\n- Auto pep8\n- CI/CD pipeline\n- documenting\n\n## Installation\n\nclone the repo and install requirements by\n\n```\npip install -r requirements.txt\n```\n\n### FastAPI\n\nTo run the FastAPI\n\n```\ncd app\nuvicorn main:app --reload\n```\n\nDefault hostname is `http://localhost:8000` and as it has inbuild documentation, `http://localhost:8000/docs` can be used to view/test the API's.\n`main.py` is the main app which has API functionalities.\n\n### AWS deployment\n\nFor deploying it on AWS lambda, create a repo in Github and add the aws secret,access and region in the secrets environment. Create S3 bucket and lambda function and API endpoint and configure the endpoint to created lambda function. edit the main.yml file and input it with your bucket name. This is a one time setup.\n\nAfter completing the setup. Deploy it to the git repo. It creates a action pipeline which does the rest of the work.\n\nThis app is live on \u003chttps://z3reusmmg9.execute-api.us-east-1.amazonaws.com/dev/docs\u003e\n\n### Error codes\n\n| Error Code | Description        |\n| ---------- | ------------------ |\n| `200`      | OK                 |\n| `409`      | Conflict           |\n| `401`      | Un Authorized      |\n| `404`      | Not Found          |\n| `405`      | Method Not Allowed |\n| `400`      | Bad Request        |\n\n## Troubleshooting\n\nThe psycopg2 library which was installed doesnot work on aws lambda engine. reference \u003e\u003e \u003chttps://github.com/jkehler/awslambda-psycopg2/issues/47\u003e\n\nI have downloaded the custom build and placed it in `psycop2-fix` folder. The pipeline automatically adds this build to the S3 bucket.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravind-psiog%2Fmonitor_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faravind-psiog%2Fmonitor_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravind-psiog%2Fmonitor_api/lists"}