This repository contains the source code for my personal website. It is built using Next.js, Tailwind CSS, and Payload CMS.
- Extremely customizable thanks to Payload CMS
- Very fast loading times thanks to aggressive caching with Next.js Better Unstable Cache
- Hosted on Vercel using Vercel Blob Storage and Postgres Database
- Responsive design
- SEO-friendly
- Dark and light mode
My website is licensed under the MIT license. You may copy and use the source code for your own project, but you must include a link to this repository.
If you don't want to credit me and just need a starter template, use my Template. It's licensed under CC0. (Meaning you can use it for pretty much anything)
It's important to note that this project is a Monorepo and is therefore devided into multiple apps (websites) and packages.
- Clone the repository
- Install dependencies using
pnpm install
- Start the postgres database using
cd websites/www && ./scripts/start-database.sh
(requires Docker) - Copy the
.env.example
file to.env
and fill in the values - Start the website using
pnpm dev
You can now access the website at http://localhost:3000
.
- Create a new repository on GitHub
- Push your code to the new repository
- Import the repository to Vercel
- Configure the environment variables
- Create a Blob Storage and Postgres Database on Vercel
- Connect the Blob Storage and Postgres Database to the Vercel project
- Deploy the project
This is just a rough overview. For more information on how to deploy to Vercel, refer to the Vercel documentation.