An open API service indexing awesome lists of open source software.

https://github.com/ethiclab/codeserver


https://github.com/ethiclab/codeserver

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Code Server

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

# Options

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

# Routes

```javascript
module.exports = [
{
method: "get",
path: "/",
code: (req, res, next) => {
res.send('

Hello, World!

')
}
}
]
```