{"id":21536193,"url":"https://github.com/sumanmanna134/cpu-realtime","last_synced_at":"2025-09-13T07:26:44.409Z","repository":{"id":239874045,"uuid":"800832567","full_name":"sumanmanna134/cpu-realtime","owner":"sumanmanna134","description":"This repository contains the source code for a Real-time CPU Monitoring REST API built with NestJS. The API provides seamless access to live CPU data, enabling users to monitor system performance in real-time. Additionally, the infrastructure setup for this project is simplified using Terraform","archived":false,"fork":false,"pushed_at":"2024-07-19T07:15:39.000Z","size":899,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T01:59:26.769Z","etag":null,"topics":["docker","nestjs-backend","socket-io","terraform","websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sumanmanna134.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-05-15T04:52:36.000Z","updated_at":"2025-01-29T13:06:26.000Z","dependencies_parsed_at":"2024-05-15T21:52:32.186Z","dependency_job_id":"093d950e-6463-4c99-beb0-7f70e89177c3","html_url":"https://github.com/sumanmanna134/cpu-realtime","commit_stats":null,"previous_names":["sumanmanna134/cpu-realtime"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumanmanna134/cpu-realtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanmanna134%2Fcpu-realtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanmanna134%2Fcpu-realtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanmanna134%2Fcpu-realtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanmanna134%2Fcpu-realtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumanmanna134","download_url":"https://codeload.github.com/sumanmanna134/cpu-realtime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanmanna134%2Fcpu-realtime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259354846,"owners_count":22844940,"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":["docker","nestjs-backend","socket-io","terraform","websocket"],"created_at":"2024-11-24T03:18:27.272Z","updated_at":"2025-06-11T22:32:23.482Z","avatar_url":"https://github.com/sumanmanna134.png","language":"TypeScript","funding_links":["https://opencollective.com/nest"],"categories":[],"sub_categories":[],"readme":"![Alt text](demo/banner.png)\n\n  \u003ch3 align=\"center\"\u003e\u003c/h3\u003e\n\n  \u003c!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\n  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)--\u003e\n\n## Description\n\nThis repository contains the source code for a Real-time CPU Monitoring REST API built with NestJS. The API provides seamless access to live CPU data, enabling users to monitor system performance in real-time. Additionally, the infrastructure setup for this project is simplified using Terraform.\n\n## Features\n\n- Real-time CPU data retrieval\n- NestJS backend for robust performance\n- Simplified infrastructure deployment with Terraform\n- Easy integration into existing systems\n- Comprehensive monitoring capabilities for enhanced efficiency\n\n## Getting Started\n\nFollow these steps to set up and deploy the API:\n\n## Prerequisites\n\nNode.js and npm installed on your machine.\nTerraform CLI installed locally.\n\n## Installation\n\n#### Clone this repository to your local machine.\n\n```bash\n$ git clone https://github.com/sumanmanna134/cpu-realtime.git\n```\n\n#### Navigate to the project directory.\n\n```\ncd cpu-realtime\n```\n\n#### Install Dependencies\n\n```\nyarn\n```\n\n## Configuration\n\n### Configure Terraform:\n\n- Modify the terraform/main.tf file to specify your infrastructure details such as the AWS region, instance type, etc.\n\n### Set environment variables:\n\n- Create a `.env` file in the root directory and configure environment variables required for the NestJS application. You can use .env.example as a template.\n\n## Deployment\n\nDeploy Infrastructure with Terraform:\n\n```\ncd terraform\nterraform init\nterraform apply\n```\n\nAccess the API at http://localhost:3000 by default.\n\n## Running the app\n\n```bash\n# development\n$ yarn run start\n\n# watch mode\n$ yarn run start:dev\n\n# production mode\n$ yarn run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ yarn run test\n\n# e2e tests\n$ yarn run test:e2e\n\n# test coverage\n$ yarn run test:cov\n```\n\n## Demo\n\n![Alt text](demo/demo.gif)\n\n## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Suman Manna](https://blog.isumdev.com/)\n- Linkedin - [@sumanmanna](https://www.linkedin.com/in/sumanmanna/)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanmanna134%2Fcpu-realtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumanmanna134%2Fcpu-realtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanmanna134%2Fcpu-realtime/lists"}