You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
383 B

const express = require('express');
const oracleRoutes = require('./routes');
const app = express();
const HOST = process.env.ORACLE_HOST || '127.0.0.1';
const PORT = Number(process.env.ORACLE_PORT || 3210);
app.use(express.json());
app.use('/api', oracleRoutes);
app.listen(PORT, HOST, () => {
console.log(`OTB Oracle test server listening on http://${HOST}:${PORT}/api`);
});