Nubo Docs
Search…
Express
It's easy to deploy a Node Express service on Nubo. For a full example, take a look at the Nubo Examples repo.
Below is an example of a basic Express service.
const app = require('express')();
const PORT = process.env.PORT || 3000;
app.use('*', (req, res) => {
res.json({ message: 'Express on Nubo' });
});
app.listen(PORT, () => console.log(`> Ready on http://localhost:${PORT}`));
Copy link