@dvcorg/websites-server

0.1.9 • Public • Published

Express Server

Example Usage on other project:

Create a server file eg: server.js

const server = require('@dvcorg/websites-server')

const app = server.app

// we can also extend to add further custom routes
app.get('/hello', (req, res) => {
  res.send('hello')
})

// run the server
server.run()

Readme

Keywords

none

Package Sidebar

Install

npm i @dvcorg/websites-server

Weekly Downloads

70

Version

0.1.9

License

MIT

Unpacked Size

80.1 kB

Total Files

31

Last publish

Collaborators

  • jewels18
  • yathomasi
  • omesser
  • rmp-iterative
  • shcheklein