Coder Social home page Coder Social logo

spring-boot-mvc's Introduction

敏捷web开发作业之spring boot

网址

Todo list 使用SpringBoot框架,构建一个Restful API,能够完成Todo list的以下功能。

  • 返回所有Todo任务
  • 创建一个新的Todo任务
  • 返回一个指定ID的Todo任务
  • 删除一个Todo任务

为简化流程,不引入数据存储,即,不需要做数据持久化,可以在服务器运行时满足功能即可。

Todo中一个任务的JSON格式定义为:

  {
    "id": 1,
    "content": "Restful API homework",
    "createdTime": "2019-05-15T00:00:00Z"
  }

进一步的功能提示:需完成的四个功能的Restful API定义如下,实现即可。

GET /api/tasks/

POST /api/tasks/

GET /api/tasks/{id}

DELETE /api/tasks/{id}

spring-boot-mvc's People

Contributors

surelyee avatar

Stargazers

 avatar

Watchers

James Cloos 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.