# vueblog

> A blog system by Nuxt.js

Latest version **2.2.6** (published 2018-04-16) · 0 weekly downloads

## Install

```sh
npm install vueblog
pnpm add vueblog
yarn add vueblog
bun add vueblog
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.6 |
| Published | 2018-04-16 |
| First published | 2018-04-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 505.2 KB |
| Known vulnerabilities | 0 (+35 in 6 direct dependencies) |
| Install scripts | no |
| Author | wmui |
| Maintainers | wmui |

## Links

- npm: https://www.npmjs.com/package/vueblog
- npm.io page: https://npm.io/package/vueblog

## Dependencies (20)

- [koa](https://npm.io/package/koa.md) ^2.4.1
- [md5](https://npm.io/package/md5.md) ^2.2.1
- [nuxt](https://npm.io/package/nuxt.md) latest
- [axios](https://npm.io/package/axios.md) ^0.17.1
- [mongoose](https://npm.io/package/mongoose.md) ^5.0.1
- [@koa/cors](https://npm.io/package/@koa/cors.md) ^2.2.1
- [cross-env](https://npm.io/package/cross-env.md) ^5.0.1
- [formidable](https://npm.io/package/formidable.md) ^1.1.1
- [koa-router](https://npm.io/package/koa-router.md) ^7.3.0
- [koa-static](https://npm.io/package/koa-static.md) ^4.0.2
- [top-editor](https://npm.io/package/top-editor.md) 0.0.7
- [@nuxtjs/pwa](https://npm.io/package/@nuxtjs/pwa.md) ^2.0.5
- [markdown-it](https://npm.io/package/markdown-it.md) ^8.4.0
- [postcss-url](https://npm.io/package/postcss-url.md) ^7.3.0
- [highlight.js](https://npm.io/package/highlight.js.md) ^9.12.0
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.1.1
- [koa-bodyparser](https://npm.io/package/koa-bodyparser.md) ^4.2.0
- [postcss-import](https://npm.io/package/postcss-import.md) ^11.0.0
- [postcss-cssnext](https://npm.io/package/postcss-cssnext.md) ^3.0.2
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.4.15

## Recent versions

- 2.2.6 (latest) — 2018-04-16
- 2.2.5 — 2018-04-16

## README

<a href="https://travis-ci.org/wmui/vueblog"><img src="https://travis-ci.org/wmui/vueblog.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/wmui/vueblog"><img src="https://img.shields.io/badge/license-AGPL-blue.svg" alt="License"></a>

## VueBlog v2

[中文文档](https://github.com/wmui/vueblog/blob/master/README.zh-cn.md)

VueBlog is a lightweight blog application [Live Demo](http://www.86886.wang)

### Technology stack

- FrontEnd: Nuxt.js + Vuex
- BackEnd: Mongoose + Koa

### Features

- Server Side Rendering.
- Progressive Web App.
- A lightweight markdown editor base Vue.js.
- Support tag management and archive management.

### Build Setup

First you should install [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community) and [Node.js](https://nodejs.org/en/), open the database service

``` bash
# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:3000
npm run dev

# build for production
npm run build

# serve in production mode
npm start
```

### Global config

Config file is `server/config/index.js`, default username：q, default password: q

```javascript
export default {
  user: {
    role: 'superAdmin',
    username: 'q',
    password: 'q',
    email: 'qq22337383@gmail.com',
    nickname: 'VueBlog',
    motto: 'Never too old to learn',
    avatar: 'avatar.png'
  },
  jwt: {
    secret: 'vueblog'
  },
  mongodb: {
    host: '127.0.0.1',
    database: 'vueblog',
    port: 27017,
    username: '',
    password: ''
  },
  production: {
    host: '198.13.32.165',
    domain: 'https://vueblog.86886.wang'
  },
  app: {
    host: '127.0.0.1',
    port: 3000,
    routerBaseApi: '/api'
  }
}
```

### License
[GPL-3.0](https://choosealicense.com/licenses/gpl-3.0/)

---
_Source: https://npm.io/package/vueblog · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
