Web framework for Node.js. Similar to express. Compatible with express.
yarn add @mrapi/app
import { App } from '@mrapi/app'
const app = new App()
app
.get('/', (_req, res) => {
res.end('Hello World!')
})
.listen(3000, (err: any) => {
if (err) {
throw err
}
console.log(
`Server listening at http://localhost:${
(app.server?.address() as any)?.port
}`,
)
})