{"id":16202227,"url":"https://github.com/mathiscode/next-k8s","last_synced_at":"2026-01-20T05:32:05.707Z","repository":{"id":42159803,"uuid":"510602420","full_name":"mathiscode/next-k8s","owner":"mathiscode","description":"A Next.js + Kubernetes Boilerplate Application","archived":false,"fork":false,"pushed_at":"2022-07-30T23:13:07.000Z","size":2139,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T20:37:38.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/mathiscode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-05T05:45:23.000Z","updated_at":"2023-11-15T23:35:35.000Z","dependencies_parsed_at":"2022-09-22T06:10:34.563Z","dependency_job_id":null,"html_url":"https://github.com/mathiscode/next-k8s","commit_stats":null,"previous_names":[],"tags_count":100,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiscode%2Fnext-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiscode%2Fnext-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiscode%2Fnext-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiscode%2Fnext-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathiscode","download_url":"https://codeload.github.com/mathiscode/next-k8s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713295,"owners_count":20983682,"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":"2024-10-10T09:46:28.033Z","updated_at":"2026-01-20T05:32:00.683Z","avatar_url":"https://github.com/mathiscode.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.K8S Boilerplate\n\n\u003e Kubernetes + Next.js Microservice Boilerplate\n\n---\n\nThis project was built using [Stephen Grider's course](https://www.udemy.com/course/microservices-with-node-js-and-react/) as a guideline.\n\nIt has been modernized and refactored to my own personal styling/organizational choices.\n\n**It's recommended to use [pnpm](https://pnpm.io) for package management and running scripts.**\n\nThe repository is managed with [Lerna](https://lerna.js.org) and enhanced with [NX](https://nx.dev/getting-started/intro).\n\n- [Next.K8S Boilerplate](#nextk8s-boilerplate)\n  - [Requirements](#requirements)\n  - [Scripts](#scripts)\n  - [Notable files](#notable-files)\n  - [Debugging](#debugging)\n\n---\n\n## Requirements\n\n- Kubernetes cluster running with ingress-nginx\n  - With minikube, use `pnpm setup:minikube` and `pnpm setup:secrets` scripts\n- Hostfile mapping from skaffold.local to cluster IP\n  - Alternatively, update domain name in configuration\n\n## Scripts\n\nTo see all available scripts, type `pnpm scripts`\n\n- `pnpm setup:minikube`: startup or create a minikube cluster\n- `pnpm setup:secrets`: setup environment secrets\n- `pnpm start`: start the Skaffold development environment\n- `pnpm build`: build all packages (concurrency 6)\n- `pnpm test`: test all packages\n- `pnpm pods`: show current Kubernetes pods\n- `pnpm pods:ingress`: show the ingress-nginx pods\n- `pnpm graph`: view the NX project graph\n- `pnpm version:[inc]`: increment version number; [inc] = major, minor, or patch\n- `pnpm commit:quick`: for easy testing, perform a commit with generic message\n- `pnpm publish:quick`: for easy testing, commit, patch, and publish all packages\n- `pnpm docker:build`: build the docker images for all packages\n- `pnpm docker:push`: push the docker images for all packages\n\n## Notable files\n\n- [package.json](package.json)\n- [skaffold.yaml](skaffold.yaml)\n- [packages/*](packages)\n  - Microservice source files\n- [k8s/*](k8s)\n  - Kubernetes configuration\n\n## Debugging\n\nTests can be debugged using the Visual Studio Code debugger, and can be run from the workspace with the included `launch.json`, which should be updated to match modifications to the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiscode%2Fnext-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathiscode%2Fnext-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiscode%2Fnext-k8s/lists"}