This project aims to establish a comprehensive blog system, covering server-side APIs, management backends, front-end websites, and deployment. It mainly uses Node.js and the Koa2 framework for server-side API development.
- Blog management backend (React.js + Ant Design): react-blog-admin
- Blog management backend (Vue.js + Element-UI): vue-blog-admin
- Blog front-end display (Nuxt.js SSR): nuxtjs-blog-web
- Admin Module: Permission management, login, and registration.
- User Module: Login and registration on the front-end website.
- Article Module: Article creation, modification, deletion, and query; classification, comments.
- Category Module: Category management, article association.
- Comments/Replies Module: Management of comments and replies.
For detailed API documentation, see: Admin API
git clone https://github.com/lgb/nodejs-koa-blog.git
cd nodejs-koa-blog
npm install or yarn install
npm run dev or yarn dev
- Visit:
http://localhost:5000
mysql -uroot -p
CREATE DATABASE IF NOT EXISTS boblog DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
- Yarn vs npm: Yarn is recommended as it is faster than npm and ensures version uniformity.
- Startup Issues: Ensure dependencies and databases are installed; check startup logs for errors.