Bonera Web Framewor
Minimalist web framework for node.js
Installation
$ npm install bonera
Features
- Use middlewares
- Get
- Put
- Patch
- Post
- Delete
- Liste
create a middleware
app
access the params of the url using
reqparams
access the query of the url using
reqquery
access the form of the post using
reqbody
get
app
put
app
patch
app
post
app
delete
app
start the server
app
e.g
const bonera = ;const app = ; //Create a middleware to display the respond as a JSONapp; app; //if the path is /user/?message=Hello-worldapp; app; app; app; app; app; app