This repository has been archived on 2024-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
smart-tag/server.js

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}`);
});