Skip to content

My 🏠 on the ☁️. Portfolio, showcases, snippets, and development logs

License

Notifications You must be signed in to change notification settings

mk965/mengke.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mengke.me 🧑‍💻

Motivation

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.

Tech stack

  • 🪤 Hosted on Vercel.
  • 🧱 Built with React 18+, NextJS 14+.
  • 📊 Monitoring site with Umami website analytics.
  • 🎉 Adopting Typescript, committing with Conventional Commits.

DEMO

You can see what the blog looks like here: https://mengke.me

How to deploy a similar blog?

1. Installation

  1. Clone or fork this repository.

  2. Run npm install or yarn to install dependencies.

2. Modify data

  1. Rename the .env.example file in the root directory to .env and modify the value in it.

  2. Update the information in the files in the /data directory, which contains the blog data.

3. Deploy to Vercel

Deploy with Vercel

4. Blog post visits can also be stored in Vercel for free

  1. Create a Postgres Database in Vercel.

  2. 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 the DATABASE_URL variable.

  3. Run npx prisma db push to create the views table.

  4. The number of views of each blog post will be automatically counted in this database.

☕️ Support Mengke

Buy Me a Coffee at ko-fi.com