Http server framework for NodeJS
To install @skuyjs/http-server
, run this command using terminal inside your project.
npm install @skuyjs/http-server
To use this framework, you can follow this example.
const Server = require('@skuyjs/http-server');
const server = new Server();
server.get('/', (req, res) => {
res.send('hello');
});
server.listen(8080);