tether / manner-folder Goto Github PK
View Code? Open in Web Editor NEWFolder structure as an HTTP service
License: MIT License
Folder structure as an HTTP service
License: MIT License
{
'/': {
'/api': '',
'/doc': ''
}
}
Would allow to define routes with custom behaviour (such as authorization).
We should be able to call an other service without doing a HTTP request.
post() {
service('/events').get()
}
All errors are caught when only http one should be. It makes developing difficult because we can not see the errors that are thrown.
We should be able to define complex routes.
service({
'/search/:entity' : require('./search')
})
May be we could mixin params and queries. Because /search/:entity
could be written as following /search?entity=foo
.
Should we write a resolver module?
Right now, schema are only apply for data...could we also apply schema for params?
We could automatically generate a console from a service + schema file to test the service. We could get documentation as well.
We could combine params to call custom methods:
params: name + password
method: login (post + something else)
The index.js file should indicate the existence of an API endpoint. If the file does not exits, the module should not trigger an eception but just a warning.
Should accept aliases
{
'/super' : '/api'
}
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.