Awesome Open Source
Awesome Open Source

ssr-blog

Build Status GitHub

bg A server-side-rending blog based on Vue2 && Koa2 && MongoDB with Persona5 theme.

Preview

click here

Usage in Development

What You Need Before Getting Started

  • Node.js
  • MongoDB
  • Redis

server

cd server
npm install
npm start // default serve at localhost: 3000

You can change config options at server/conf/config.js

admin

cd admin
npm install
npm run dev // default serve at localhost: 8082

front

cd front
npm install
npm run dev // default serve at localhost: 8080

Usage in Production

What You Need Before Getting Started

  • Docker

You should change the image to your own in docker-compose.yml

    ...
  web_front:
    image: unsad/web_front // change to your own
    ...
  web_back:
    image: unsad/web_back // change to your own
    ...
docker-compose up // default server at localhost:4000

Lisence

MIT


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Vue (81,067
Docker (33,785
Mongodb (14,131
Redis (6,687
Vue2 (1,541
Koa2 (900
Server Side Rendering (818
Pm2 (326
Related Projects