2021-03-18 10:04:32 +00:00
|
|
|
const express = require('express');
|
2021-03-18 12:56:34 +00:00
|
|
|
const logIn = require('./methods/logIn');
|
2021-11-23 11:46:45 +00:00
|
|
|
const config = require('./config');
|
2021-03-18 12:56:34 +00:00
|
|
|
|
2021-11-23 11:46:45 +00:00
|
|
|
const app = express();
|
2022-03-30 12:58:49 +00:00
|
|
|
const dataLogIn = logIn;
|
2021-03-18 12:56:34 +00:00
|
|
|
exports.dataLogIn = dataLogIn;
|
2021-03-18 10:04:32 +00:00
|
|
|
|
2021-06-30 16:16:04 +00:00
|
|
|
// app.use('/getNumShelving', require('./methods/setCollection__'));
|
2021-05-13 07:46:46 +00:00
|
|
|
app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level
|
2021-06-30 17:15:19 +00:00
|
|
|
app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk
|
2021-03-25 12:38:48 +00:00
|
|
|
app.use('/flashOn', require('./methods/flashOn'));
|
2021-03-18 10:04:32 +00:00
|
|
|
|
2021-11-23 11:46:45 +00:00
|
|
|
app.listen(config.port, () => {
|
|
|
|
console.info(`http://localhost:${config.port}`);
|
2021-03-18 10:04:32 +00:00
|
|
|
});
|