Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 637 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 637 Bytes

Source code used to demo the integration with Chainloop seen here

Note: Repository forked from https://github.com/bopbi/simple-todo

simple-todo

A Simple REST Server app, using golang and sqlite, build for testing client app, the SQLITE file already contain some example data

REST API

  • GET ALL

    GET todos
    
  • GET BY ID, example id is 12

    GET todos/12
    
  • INSERT, it will return the json for new todo

    POST todos
    
  • UPDATE BY ID, example id is 12 and it will return the json for new todo

    PUT todos/12
    
  • DELETE BY ID, example id is 12

    DELETE todos/12