Skip to content

lsongdev/kelp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kelp-server

Super tiny web-server framework in Node.js

const { createServer } = require('kelp-server');

class Home {
  index() {
    return "hello world";
  }
}

const server = createServer({
  routes: [
    `get / => Home#index`
  ],
  middlewares: [],
  controllers: [Home],
  defaultErrorHandler: true,
});

server.listen(3000);

About

Super tiny web-server framework in Node.js

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published