Skip to content

A blog system based on node, express, mongoose, node_acl, vue

License

Notifications You must be signed in to change notification settings

maplesec/leaf-blog

Repository files navigation

leaf-blog

A blog system based on node, express, mongoose, node_acl, vue

Introduction

  • Vue SSR, 利于SEO

  • 使用node_acl做RBAC管理,方便扩展

  • 使用element-ui, 并借鉴了开源项目tale的风格

  • 访问 Demo

Install

Before installing, you should have a mongodb availiable.

Using cnpm:

cnpm install

Start

  1. Build for dist (client and server)
npm run build
  1. Start server with pm2
npm start
  1. Visit localhost:3000 for blog

  2. Visit localhost:3000/login for admin

Develop

  1. Start server
npm start
  1. Start webpack-dev-server
npm run dev

Deploy

If dist has already been built and you want to deploy this project on another host, you can do like this:

cnpm install --production

then copy dist folder to 'leaf-blog/'

npm start

License

MIT

About

A blog system based on node, express, mongoose, node_acl, vue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published