Skip to content

Yu-Qi/restful_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restful api

Usage

Goal

implement a restful task API application, which includes the following endpoints:

  • GET /tasks
  • POST /tasks
  • PUT /tasks/{id}
  • DELETE /tasks/{id}

A task should contain at least the following fields:

  • name
    • type: string
    • description:task name
  • status
    • type: integer
    • enum:[0,1]
    • description:0 represents an incomplete task, while 1 represents a completed task

DOD

  • unit tests
  • Provides Dockerfile to run API in Docker

Principle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published