Easy Back-end Node.js library
# bash
npm i @brtmvdl/backend
{
"type": "module",
"scripts": {
"start": "node index.js"
},
...
}
import { Server } from '@brtmvdl/backend'
const server = new Server()
server.get('/', (req, res) => res.setJSON({ id: Date.now() }))
server.listen(80)
# bash
npm start