{"id":27697913,"url":"https://github.com/rishabkumar7/ltc-devops-project","last_synced_at":"2025-04-25T16:26:32.232Z","repository":{"id":264907449,"uuid":"865464798","full_name":"rishabkumar7/ltc-devops-project","owner":"rishabkumar7","description":"This is the sample application for the DevOps Capstone Project on Learn to Cloud. It shows your favorite TV Shows or movies, the front-end is in React and the API is written in Python using FastAPI. The goal is to get hands-on with DevOps practices like Containerization, CI/CD, IaC and monitoring.","archived":false,"fork":false,"pushed_at":"2024-10-01T14:48:52.000Z","size":498,"stargazers_count":21,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T11:11:47.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishabkumar7.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-09-30T15:16:41.000Z","updated_at":"2025-02-23T13:51:52.000Z","dependencies_parsed_at":"2024-11-27T04:45:53.735Z","dependency_job_id":null,"html_url":"https://github.com/rishabkumar7/ltc-devops-project","commit_stats":null,"previous_names":["rishabkumar7/ltc-devops-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fltc-devops-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fltc-devops-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fltc-devops-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fltc-devops-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/ltc-devops-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250852134,"owners_count":21497811,"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":[],"created_at":"2025-04-25T16:26:31.528Z","updated_at":"2025-04-25T16:26:32.227Z","avatar_url":"https://github.com/rishabkumar7.png","language":"JavaScript","readme":"# LTC DevOps Project\n\nThis is the sample application for the DevOps Capstone Project on [Learn to Cloud.](https://learntocloud.guide)\nIt shows your favorite TV Shows or movies, the front-end is in React and the API is written in Python using FastAPI.\n\n## Application\n\n**Front-End** - A web application where users can view.\n![React Frontend application](./images/react-frontend.png)\n\n**API**: API that receives request to fetch TV Shows or Movies data, stored in NoSQL Database. For this sample app I am using CosmosDB from Azure. But you can modify the code according to your provider within the API.\n![API for TV Shows](./images/api-tvshows.png)\n\n## Running locally\n\n### API\n\nThe API code exists in the `api` directory. You can run the API server locally:\n\n- Clone this repo\n- Make sure you are in the `api` directory\n- Create a virtualenv by typing in the following command: `python -m venv .venv`\n- Install the required packages: `pip install -r requirements.txt`\n- Create a `.env` file, and add your CosmosDB connection details(only if you are using Azure CosmosDB), check  `.env.example`\n- Also, change the API code depending on the data stored in your NoSQL Database in `main.py` accordingly\n- Run the API server: `uvicorn main:app --reload`\n- Your API Server should be running on port `http://localhost:8000`\n\n### Front-end\n\nThe front-end code exits in the `frontend` directory. You can run the front-end server locally:\n\n- Clone this repo\n- Make sure you are in the `frontend` directory\n- Install the dependencies: `npm install`\n- Run the NextJS Server: `npm start`\n- Your Front-end Server should be running on `http://localhost:3000`\n\n## Goal\n\nThe goal is to get hands-on with DevOps practices like Containerization, CICD and monitoring.\n\n- Containerize the Application: Create Dockerfiles for both api and frontend.\n- CI/CD: Setup CI/CD pipeline to push images to Dockerhub or other container registries like [ACR](https://azure.microsoft.com/en-us/products/container-registry) or [ECR](https://aws.amazon.com/ecr/).\n- Infrastructure as Code: Deploy a Kubernetes cluster to your choice of cloud provider, using Terraform.\n- Kubernetes: Create deployments for both of your containers using YAML files, and deploy it to your cluster.\n- Monitoring: Setup monitoring for your cluster, look into Prometheus and Grafana.\n\nLook at the [Phase 4 capstone project](https://learntocloud.guide/phase4/) for more details.\n\n## Author\n\n[Rishab Kumar](https://github.com/rishabkumar7)\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fltc-devops-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fltc-devops-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fltc-devops-project/lists"}