Sharing is learning!
I created this blog to record and share my learnings and insights as a software engineer, but also to keep track of my life. It is a treasure trove of valuable information that I have accumulated throughout my journey.
Recording and organizing my thoughts helps me solidify my understanding of new concepts and technologies. My goal is to provide a useful resource for those interested in web development and related technologies.
Your comments and feedback are highly appreciated 🍻. They contribute to the growth and improvement of this blog.
- 🪤 Hosted on Vercel.
- 🧱 Built with React 18+, NextJS 14+.
- 📊 Monitoring site with Umami website analytics.
- 🎉 Adopting Typescript, committing with Conventional Commits.
You can see what the blog looks like here: https://mengke.me
-
Clone or fork this repository.
-
Run
npm install
oryarn
to install dependencies.
-
Rename the
.env.example
file in the root directory to.env
and modify the value in it. -
Update the information in the files in the
/data
directory, which contains the blog data.
-
Create a
Postgres Database
in Vercel. -
You will get a string similar to:
postgres://default:xxxxx@xx-xx-xx-xxxx.us-xx-x.postgres.vercel-storage.com:xxx/verceldb
, add it to theDATABASE_URL
variable. -
The number of views of each blog post will be automatically counted in this database.