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
-
Clone or fork this repository.
-
Run
npm installoryarnto install dependencies.
2. Modify data
-
Rename the
.env.examplefile in the root directory to.envand modify the value in it. -
Update the information in the files in the
/datadirectory, which contains the blog data.
3. Deploy to Vercel
4. Blog post visits can also be stored in Vercel for free
-
Create a
Postgres Databasein Vercel. -
You will get a string similar to:
postgres://default:[email protected]:xxx/verceldb, add it to theDATABASE_URLvariable. -
Run
npx prisma db pushto create theviewstable. -
The number of views of each blog post will be automatically counted in this database.
