- 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 src
First, install dependencies:
pnpm install
Then run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Start production build and generate sitemap:
pnpm build && pnpm postbuild
Serve page:
pnpm start
Open http://localhost:3000 with your browser to see the result.
Run Prettier - code formatter:
pnpm prettier