Initial commit: Dokku Docker Compose plugin with test infrastructure
This commit is contained in:
10
tests/test-apps/simple-nodejs/server.js
Normal file
10
tests/test-apps/simple-nodejs/server.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const PORT = process.env.PORT || 5000;
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('Hello from Node.js app!');});
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Server running on port ${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user