{"id":28342040,"url":"https://github.com/ujjwalkirti/react-native-ecommerce-backend","last_synced_at":"2026-02-22T00:03:31.942Z","repository":{"id":213121105,"uuid":"733078726","full_name":"ujjwalkirti/react-native-ecommerce-backend","owner":"ujjwalkirti","description":"Demo API built with express framework to demonstrate my devops skills","archived":false,"fork":false,"pushed_at":"2025-04-24T10:45:10.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T09:08:29.648Z","etag":null,"topics":["argocd","aws","aws-eks","devops","docker","express","github-actions","grafana","kubernetes","mongodb","prometheus","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ravgiraj/react-native-ecommerce-backend","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ujjwalkirti.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,"zenodo":null}},"created_at":"2023-12-18T14:12:08.000Z","updated_at":"2025-04-24T10:45:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f773f4d4-4cac-420a-87c4-03f3f07ee1ce","html_url":"https://github.com/ujjwalkirti/react-native-ecommerce-backend","commit_stats":null,"previous_names":["ujjwalkirti/react-native-ecommerce-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ujjwalkirti/react-native-ecommerce-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjwalkirti%2Freact-native-ecommerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjwalkirti%2Freact-native-ecommerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjwalkirti%2Freact-native-ecommerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjwalkirti%2Freact-native-ecommerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujjwalkirti","download_url":"https://codeload.github.com/ujjwalkirti/react-native-ecommerce-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjwalkirti%2Freact-native-ecommerce-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267535635,"owners_count":24103354,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["argocd","aws","aws-eks","devops","docker","express","github-actions","grafana","kubernetes","mongodb","prometheus","typescript"],"created_at":"2025-05-27T04:59:33.974Z","updated_at":"2026-02-22T00:03:26.921Z","avatar_url":"https://github.com/ujjwalkirti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecommerce API\n\nThis is a dummy api for an ecommerce website. I have created this to test my DevOps and AWS skills.\n\n## Endpoints\n\n### Product Endpoints\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| GET | /products | Get all products |\n| GET | /products/:id | Get a single product |\n| GET | /products/search/:key | Search for a product |\n| POST | /products | Create a new product |\n\n### Cart Endpoints\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| GET | /cart/find/:id | Get a cart |\n| POST | /cart | Create a new cart |\n| POST | /cart/:quantity | Add a product to the cart |\n| DELETE | /cart/:cartItemId | Remove a product from the cart |\n\n### Order Endpoints\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| GET | /orders/:id | Get all orders |\n\n### User Endpoints\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| DELETE | /user/:id | Delete a user |\n| GET | /user/:id | Get a user |\n\n### Auth Endpoints\n\n| Method | Endpoint | Description |\n| --- | --- | --- |\n| POST | /auth/register | Register a new user |\n| POST | /auth/login | Login a user |\n\n\n\n\n### Things to do:\n- [x] Dockerfile to build docker image \n- [x] Add JWT-based login feature  \n- [x] Store tokens in MongoDB  \n- [ ] Write github actions file to push docker image to AWS ECR\n- [ ] Kubernetes deployment file  \n- [ ] Deploy to AWS EKS  \n- [ ] Configure env variables in k8s deployment  \n\n\n## ✅ DevOps Pipeline Setup Checklist\n\n### 1️⃣ Code Repository \u0026 CI/CD Trigger\n- [x] Initialize a GitHub repository for the ExpressJS application\n\n- [x] Set up GitHub Actions workflow to trigger on push\n\n- [ ] Install and configure Renovate Bot for dependency updates\n\n- [ ] Add Prettier + ESLint for code quality checks\n\n### 2️⃣ Build \u0026 Push Docker Image\n- [x] Create a Dockerfile for the application\n\n- [x] Set up GitHub Actions to build the Docker image\n\n- [x] Use Kaniko for efficient Docker builds in CI\n\n- [x] Scan the image for vulnerabilities using Trivy\n\n- [x] Authenticate with AWS and push the image to Amazon ECR\n\n### 3️⃣ Deploy Using GitOps (Argo CD + Helm + Kustomize)\n- [ ] Store Kubernetes manifests in a separate Git repository\n\n- [ ] Install Argo CD on the Amazon EKS cluster\n\n- [ ] Configure Argo CD to watch the Git repository for changes\n\n- [ ] Use Helm to manage Kubernetes manifests\n\n- [ ] Use Kustomize for environment-specific configurations\n\n### 4️⃣ Kubernetes Deployment in Amazon EKS\n- [x] Provision an Amazon EKS cluster\n\n- [ ] Deploy the application using Kubernetes Deployment, Service, and Ingress\n\n- [ ] Configure External Secrets Operator to pull secrets from AWS Secrets Manager\n\n- [ ] Set up Ingress-NGINX + Cert-Manager for HTTPS with Let's Encrypt\n\n### 5️⃣ Monitoring \u0026 Logging\n- [ ] Install Prometheus for collecting application \u0026 Kubernetes metrics\n\n- [ ] Set up Grafana for real-time monitoring dashboards\n\n- [ ] Configure Loki for centralized logging\n\n- [ ] Set up Tempo for distributed tracing of requests\n\n### 6️⃣ Auto Scaling \u0026 Performance Optimization\n- [ ] Configure Horizontal Pod Autoscaler (HPA) for scaling based on CPU/memory\n\n- [ ] Install KEDA for event-driven auto-scaling\n\n- [ ] Use Goldilocks to optimize Kubernetes resource limits\n\n### 7️⃣ Security \u0026 Policy Enforcement\n- [ ] Install OPA Gatekeeper for Kubernetes policy enforcement\n\n- [ ] Configure Kyverno to automate policy management\n\n- [ ] Deploy Falco to detect security threats in real time\n\n### 8️⃣ Backup \u0026 Disaster Recovery\n- [ ] Install Velero for Kubernetes backup and recovery\n\n- [ ] Configure Kanister for PostgreSQL database backups\n\n### 9️⃣ Cost Optimization \u0026 Observability\n- [ ] Install Kubecost to track Kubernetes resource usage and costs\n\n- [ ] Use AWS Compute Optimizer to optimize EC2 instance types\n\n### 🔟 CI/CD Deployment \u0026 Rollbacks\n- [ ] Use Argo Rollouts for canary and blue-green deployments\n\n- [ ] Test rollback functionality using Argo CD\n\n### 1️⃣1️⃣ Centralized DevOps Dashboard\n- [ ] Set up Backstage to manage services, monitoring, and deployments","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujjwalkirti%2Freact-native-ecommerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujjwalkirti%2Freact-native-ecommerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujjwalkirti%2Freact-native-ecommerce-backend/lists"}