GithubHelp home page GithubHelp logo

koa2-blog-1's Introduction

koa2-blog

github地址 https://github.com/193Eric/koa2-blog

本项目是采用koa2框架制作的开源blog系统

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢! ^_^

如果你觉得对你有帮助,可以点击folk,或者follow一下,我会不定时跟新一些有趣的东西.~~~ 0.0

koa2,数据库 mongodb 构建的个人博客后台/

print print

环境
  1. node v6.10.1
  2. cnpm 4.5.0
  3. npm 3.10.10
技术栈

[koa2]

[es6-es7]

[nodeJs]

[mongodb]

目录结构

.
├── models                   // model层 处理数据
│	├── cagegory.js             // 处理文章数据
│   ├── comment.js              // 处理评论
│   ├── post.js                 // 处理传输数据
│	└── user.js                 // 处理用户数据
├── config                   // 数据库配置文件
├── middlewares              // 公用的中间件
├── package.json             // 项目配置文件
├── views                    // 前端目录
├── routes                   // 路由
├── .gitignore               //git忽略文件

本地测试环境:

第一步:安装mongodb.可以去菜鸟教程

第二步:npm install 把项目依赖安装.

第三步:npm run dev 启动项目

第四步:浏览器输入 localhost:3000

koa2-blog-1's People

Contributors

193eric avatar shihanqunnie avatar siblelast avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.