1.0.0-beta.1 • Published 3 years ago
@mrapi/app v1.0.0-beta.1
@mrapi/app
Web framework for Node.js. Similar to express. Compatible with express.
Usage
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
}`,
)
})
1.0.0-beta.2
3 years ago
1.0.0-beta.1
3 years ago