{"id":25249774,"url":"https://github.com/mateuseap/kubernetes-calculator","last_synced_at":"2025-04-05T22:11:43.576Z","repository":{"id":211974250,"uuid":"730403958","full_name":"mateuseap/kubernetes-calculator","owner":"mateuseap","description":"Kubernetes Calculator application.","archived":false,"fork":false,"pushed_at":"2023-12-13T09:30:30.000Z","size":385,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T03:51:29.118Z","etag":null,"topics":["flask","k8s","react"],"latest_commit_sha":null,"homepage":"https://www.mateuseap.com/kubernetes-calculator/","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/mateuseap.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":"2023-12-11T21:13:56.000Z","updated_at":"2024-01-20T15:15:52.000Z","dependencies_parsed_at":"2025-02-12T03:50:59.914Z","dependency_job_id":"6a629090-3599-40bf-b4ed-a1e7644c6bf0","html_url":"https://github.com/mateuseap/kubernetes-calculator","commit_stats":null,"previous_names":["mateuseap/kubernetes-calc-back","mateuseap/kubernetes-calculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateuseap%2Fkubernetes-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateuseap%2Fkubernetes-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateuseap%2Fkubernetes-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateuseap%2Fkubernetes-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mateuseap","download_url":"https://codeload.github.com/mateuseap/kubernetes-calculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406112,"owners_count":20933806,"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":["flask","k8s","react"],"created_at":"2025-02-12T03:50:51.033Z","updated_at":"2025-04-05T22:11:43.548Z","avatar_url":"https://github.com/mateuseap.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Calculator\n\nWelcome to the **Kubernetes Calculator** application! \n\nThis tool helps you calculate Kubernetes resources efficiently. Below are the prerequisites, setup, and run instructions for both the frontend and backend components.\n\n## Prerequisites\nBefore getting started, ensure you have the following installed on your machine:\n\n- [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) for the frontend.\n- [Python](https://www.python.org/) and [virtualenv](https://pypi.org/project/virtualenv/) for the backend.\n\n## Frontend\n\n### Setup and Run\n\nStart by creating a ``.env`` file in the frontend folder. Use the example in [``.env.template``](./frontend/.env.template) file as a guide and add your own settings. Once that's done, install the dependencies and launch the React app:\n\n```bash\n# Install the dependecies\nnpm install\n\n# Run the React app\nnpm run dev\n```\n\nYou can then access the application locally at http://localhost:5173/kubernetes-calculator/. It automatically refreshes whenever you make changes.\n\n### Deploy\n\nIf you wish to deploy from your local source, start by building the project and then run the ``deploy`` script:\n\n```bash\n# Build the project\nnpm run build\n\n# Deploy\nnpm run deploy\n```\n\nAlternatively, deployment is a breeze. Just push changes to the `main` branch, and the [frontend deploy workflow](./.github/workflows/frontend-deploy.yml) will automatically run.\n\n## Backend\n\n### Setup and Run\n\nTo start off, you'll need to create a virtual environment and install the necessary dependencies:\n\n```bash\n# Create and activate the virtual environment\npython -m venv venv\nsource venv/bin/activate\n\n# Install the required dependencies\npip install -r requirements.txt\n```\n\nNext, run the Flask server locally:\n\n```bash\n# Run the Flask server\nflask run --debug --port 5000\n```\n\nThe backend will be accessible locally at http://localhost:5000. The ``--debug`` flag enables automatic reloading whenever changes are made to the backend code.\n\n### Deploy\n\nThe deploy will be automatically done when you update the `main` branch.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuseap%2Fkubernetes-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateuseap%2Fkubernetes-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuseap%2Fkubernetes-calculator/lists"}