- CSS: Tailwind CSS
- Language: TypeScript
- Library: React.js
- Framework: Next.js
- Headless CMS: Sanity.io
- Deployment: Vercel
- Analytics: Plausible Analytics - self-hosted
This website is using Next.js SSG (static site generation) deployed to Vercel.
When content changes, Sanity.io triggers page rebuild (Incremental Static Regeneration) via webhook.
DNS records are managed with Cloudflare.
It provides DDoS protection, CDN, caching, proxing with load balancing and much more...
Plausible Analytics is self-hosted on Google Cloud Provider - Compute Engine e2-micro instance.
It has assigned subdomain - insights.k1ng.dev.
Cerbot is used for SSL certificate management.
Project files are located in src directory:
cd srcFirst, install dependencies:
pnpm installThen run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.
Start production build and generate sitemap:
pnpm build && pnpm postbuildServe page:
pnpm startOpen http://localhost:3000 with your browser to see the result.
Run Prettier - code formatter:
pnpm prettier