Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design an interface for user to customize their api on their project #98

Open
iamblue opened this issue Mar 27, 2017 · 0 comments
Open
Assignees

Comments

@iamblue
Copy link
Collaborator

iamblue commented Mar 27, 2017

User can require mcs-lite-app in their project, and customize api.

For example :

var mcsRestServer = require('mcs-lite-app').restserver;
mcsRestServer.get('/blabla', function(req, res, next){ ... });
mcsRestServer.init($wot, $rest, ... ) // for customize configs 
mcsRestServer.start(8000, 'localhost');
@iamblue iamblue changed the title Design an interface for user to customize their api Design an interface for user to customize their api on their project Mar 27, 2017
@iamblue iamblue self-assigned this Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant