Giter VIP home page Giter VIP logo

todomvc-api's People

Contributors

addyosmani avatar proppy avatar sindresorhus avatar webmaven avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

todomvc-api's Issues

Please don't depend on "github-markdown-css": "^1.2.0",

If you need github-markdown-css just use the file in github. But if you depend on "github-markdown-css": "^1.2.0", then you pull in Phantom which requires make and C++ and does huge build, all for a css file, its not worth it really ;-)

License

Why is the license Apache 2.0?

We use MIT on the other TasteJS projects.

First test fails as follows:

My implementation is failing on the first test as follows:

request: 
body: 
{
  "title": "dredd"
}
headers: 
    Content-Type: application/json
    User-Agent: Dredd/0.3.14 (Linux 3.11.0-26-generic; x64)
    Content-Length: 37

uri: /todos
method: POST


expected: 
headers: 
    Content-Type: application/json; charset=utf-8

body: 
    {
        "id": 42,
        "title": "dredd",
        "completed": false
    }

statusCode: 201


actual: 
statusCode: 201
headers: 
    content-type: application/json; charset=UTF-8
    cache-control: no-cache
    expires: Fri, 01 Jan 1990 00:00:00 GMT
    content-length: 62
    server: Development/2.0
    date: Fri, 31 Oct 2014 12:54:01 GMT

body: 
{"completed": false, "title": "dredd", "id": 5289613002276864}

It can't really be the extra headers or the non-indented JSON, can it?

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.