Coder Social home page Coder Social logo

blog's Introduction

演示网站(Vue + flask提供后端重构ing)

Demo

前后端分离风格

后端采用python(flask)提供API接口,用于数据处理 前端采用Vue,使用vue-router提供路由功能(flask只需要提供一个index路由,其余由前端处理)

博客RESTful API设计

方式 URL 说明
GET /api/info 获取分类/标签
GET /api/posts 获取文章列表
POST /api/posts 创建一篇文章
GET /api/posts/{id} 获取一片文章
PUT /api/posts/{id} 更新一篇文章
DELETE /api/posts/{id} 删除一篇文章
POST /api/users 增加用户
PUT /api/users/{name} 更新用户
DELETE /api/users/{name} 删除用户

blog's People

Contributors

yezhengmao1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

blog'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.