17 lines
583 B
JavaScript
17 lines
583 B
JavaScript
const express = require('express');
|
|
const logIn = require('./methods/logIn');
|
|
const config = require('./config');
|
|
|
|
const app = express();
|
|
const dataLogIn = logIn;
|
|
exports.dataLogIn = dataLogIn;
|
|
|
|
// app.use('/getNumShelving', require('./methods/setCollection__'));
|
|
app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level
|
|
app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk
|
|
app.use('/flashOn', require('./methods/flashOn'));
|
|
|
|
app.listen(config.port, () => {
|
|
console.info(`http://localhost:${config.port}`);
|
|
});
|