Express + EJS + SQLite with user auth, articles and categories.
NodeJS-Blog-CMS is a blog content-management system built with Express + EJS + SQLite — user authentication, article publishing and category management out of the box.
Note
中文项目:Node.js 博客系统——Express + EJS + SQLite,用户认证、文章、分类。
git clone https://github.com/Windyhhh/NodeJS-Blog-CMS.git
cd NodeJS-Blog-CMS
npm install
# init the SQLite database
node src/database/init.js
# start the server
node src/index.jsDeploy scripts are in deploy/.
- User auth — register / login sessions.
- Articles & categories — full CMS models.
- SQLite storage — zero-config database (
jsondb.js).
NodeJS-Blog-CMS/
├── src/
│ ├── index.js # entry
│ ├── routes/ # auth, categories, posts
│ ├── models/ # User, Post, Category
│ ├── database/ # init.js, init.sql, jsondb.js
│ └── public/ # css, js, images
├── deploy/ # install / deploy scripts
└── package.json
项目采用模块化设计,核心目录包括:deploy, src。
- 代码结构清晰,模块间低耦合,便于扩展和维护
MIT — free to use, modify and distribute.