Coder Social home page Coder Social logo

blog-old's Introduction

blog

技术栈:

  • koa v2.x
  • vue v2.x全家桶
  • mongodb by mongoose

关于整个项目结构 整个项目分为两个前端子项目admin,blog和一个后台server,都是相互独立的项目。

admin

初始账号:admin 密码:password blog的后台管理,功能类似于印象笔记,会对草稿进行实时的保存。后面可能会加上数据监控,备忘录,任务表这些东西。

admin

当草稿修改满意后可以点击发布,将文章发布到blog进行展示。

admin主要使用vue全家桶,系统学习了一下vuex,受益颇多。但是感觉现在项目中的处理过程还有一些复杂,找机会重构一波👹

md编辑器用simplemde实现。

blog

blog前端展示也就,功能相对admin就比较简单。

由于功能比较简单就只使用了vue并没有用全家桶。 比较花时间的是样式调整和学习,这里沿用了Chuck安利的stylus

server

server 为admin和blog提供接口,采用restful风格。 admin使用了jwt实现了token鉴权。

开发

npm install

// 要先启动mongodb,再启动server
npm run dev-server

// run admin
npm run dev-admin

// run client
npm run dev-client

blog-old's People

Contributors

wolfdu avatar

Stargazers

 avatar Yuan avatar Xiao Zai avatar CHEWTOYS avatar Ping avatar  avatar

Watchers

James Cloos avatar

blog-old's Issues

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.