tastejs / todomvc-api Goto Github PK
View Code? Open in Web Editor NEWValidate your TodoMVC API implementation.
Validate your TodoMVC API implementation.
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 ;-)
for lang != .js
I don't understand how any implementation can be compliant if the first expected ID the system generates must be 42.
Why is the license Apache 2.0
?
We use MIT
on the other TasteJS projects.
❯ npm test
:(
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?
api-mock is a pretty handy express mock server generator that uses the API Blueprint standard. Very handy for development/testing.
http://todomvc.stephenplusplus.com - the app appends new todos to the bottom, but reloading shows it randomly placed in the list. Should we have enforce a created_at
timestamp or something similar that can be sorted by?
I have a flask backend using gcloud-python and google app engine datastore that is passing all tests, but dredd is leaving behind an inconsistent number of todos
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.