Comments (3)
Some thoughts so far:
- We could start to structure the api a little better, we don't have resources right now we are doing .../api/someAction
- What about using grunt and jshint? Not sure how strict it is.
- Do we need to start thinking about api paging?
- We should split what is inside helpers into proper modules.
from commitstream.web.
Good thoughts. I think we should use jslint for sure. As for grunt, how does it compare with gulp? I don't know much about either.
Regarding API, I'm still interested in the Swagger approach and plan to read through the articles in this magazine:
http://www.infoq.com/minibooks/emag-API
You bring up a great point about resources too. It's definitely something to be careful with.
from commitstream.web.
Here's how to integrate swagger onto Node.js:
https://github.com/wordnik/swagger-node-express
Looks very powerful. I like being able to easily add pipeline interceptions for validations, and I like the declaration of the contract right there in the code which gets turned into live executable documentation.
Here is a project that supports .net WebApi: https://github.com/domaindrivendev/Swashbuckle
from commitstream.web.
Related Issues (12)
- Use res.json instead of stringify
- When no stream for asset found return clean response not crash
- Handle eventStore connection refused (not running?) with clear error message
- Azure internally uses http even when initial request is HTTPS
- Remove Repository HOT 1
- Test HOT 1
- Must specify ApiKey as a querystring parameter HOT 5
- Discovery: Support TFS TFVC tfvc.checkin payload HOT 2
- Update partition-commits-for-instance-by-versionone-workitem
- testing...
- If the query for the commits fails, the error is silently swallowed and nothing is presented to the user.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commitstream.web.