Skip to content

ethiclab/codeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Server

npm ci
npm start -- --options ./options.js

Options

module.exports = {
  bind: {
    address: '0.0.0.0',
    port: 8080
  },
  routeFile: './routes.js'
}

Routes

module.exports = [
 {
  method: "get",
  path: "/",
  code: (req, res, next) => {
    res.send('<h1>Hello, World!</h1>')
  }
 }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published