A React Navbar/Sidebar combo component.
Your server assistant.
npm install ressie
yarn add ressie
import Ressie from 'ressie'
new Ressie({
routes: [
{
method: 'get',
path: '/',
handler: (req, res, next) => {
res.send({ result: 'success' })
}
}
]
})
// Output: "Server is listening on port 5000 ..."
import Ressie from 'ressie'
new Ressie({
middleware: [
{
name: 'morgan',
options: {
format: 'dev'
}
}
],
port: 5000,
routes: [
{
method: 'get',
path: '/',
handler: (req, res, next) => {
res.send({ result: 'success' })
}
}
]
// * Other options TBD
})
// Output: "Server is listening on port 5000 ..."
- Express - Web Framework for Node.js
- Alex Lee - Developer
- Icon made by Eucalyp from www.flaticon.com and is licensed by CC 3.0 BY.