Skip to content

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

About

My ๐Ÿ  on the โ˜๏ธ. Portfolio, showcases, snippets, and development logs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •