Commit fefd54d6 by Пронин Евгений

readme

1 parent b8eb47f3
# Rfid server fake # Rfid server fake
> An back-end server for rfis deamon > A fake rfid daemon for testing rfid powered applications
> Uses nodejs
## Install and Running ## Install
`git clone http://gitlab.fimacomarketing.com:10080/ProninE/RfidServerFake.git`
1. cd RfidServerFake ### install node js
2. npm install https://github.com/nodesource/distributions/blob/master/README.md#deb
3. npm run dev (For development)
4. npm run start (Run/Start server for Production)
Open http://localhost:8888/ ### install app
clone repository `git clone http://gitlab.fimacomarketing.com:10080/ProninE/RfidServerFake.git`
cd RfidServerFake
npm install
## Running
npm run start (Run/Start server for Production)
Open http://localhost:8888/
### Interface ## Documentation
Service uses port 8888 Service uses port 8888
see [Rfid Server documentation](http://gitlab.fimacomarketing.com:10080/PeripheryServer/PeripheryServer/raw/master/Daemons/RFIDServer/bin/help.txt) see [Rfid Server documentation](http://gitlab.fimacomarketing.com:10080/PeripheryServer/PeripheryServer/raw/master/Daemons/RFIDServer/bin/help.txt)
\ No newline at end of file \ No newline at end of file
...@@ -124,7 +124,7 @@ app.post("/ctl/disconnect", (req, res) => { ...@@ -124,7 +124,7 @@ app.post("/ctl/disconnect", (req, res) => {
}); });
app.post("/ctl/connect", (req, res) => { app.post("/ctl/connect", (req, res) => {
state.devices = makeDevice([]); state.devices = [makeDevice([])];
res.status(200).send("ok"); res.status(200).send("ok");
}); });
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!