This is a Next.js blog project bootstrapped with create-next-app
. site ui component designed with chakra ui.Generate static pages via contentlayer.js that supports mdx.
yarn install
First, run the development server:
yarn dev
Run the production server
yarn build
It will auto general search meta data at configs/search-meta.json
for algolia search on building
Open http://localhost:3000 with your browser to see the result.
-
The site search function is implemented using algolia
-
The comment function is implemented using Discuss with some modifications I have made
-
The access code authorization function is implemented using Next-Auth. And the implementation in the project is to use two environment variables process.env.ACCESS_CODE and process.env.ADMIN_PASSWORD for request parameter verification
-
......
Thanks All !!
This is a web blog website that I made as an amateur during the learning process, some website modules have not been implemented. Maybe I will add some modules that I am interested in from time to time on the website. Right, it's up to me if I have the time, but I'll do it! -_-