increasee
v10.0.0
Published
### Is a generator of API, is simple and develop fast
Downloads
1
Readme
Increasee
Is a generator of API, is simple and develop fast
- An simple way for generate a API
const increasee = require('increasee');
increasee.create('/user', ['*', 'GET', 'POST'], (req, res) => {
res.json({ name: 'John Doe' });
});
increasee.listen(3000, (port) => console.log(`Server listen at http://localhost:${port}`))
Proprieties
- increasee.create
- url (String)
- methods (Array),
['*', 'GET', 'POST', ...]
- callback (Function), Params: (port)
- increasee.listen
- port (Number)
- callback (Function), Params: (req, res)