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

readme

1 parent b8eb47f3
# Rfid server fake
> An back-end server for rfis deamon
> A fake rfid daemon for testing rfid powered applications
> Uses nodejs
## Install and Running
`git clone http://gitlab.fimacomarketing.com:10080/ProninE/RfidServerFake.git`
## Install
1. cd RfidServerFake
2. npm install
3. npm run dev (For development)
4. npm run start (Run/Start server for Production)
### install node js
https://github.com/nodesource/distributions/blob/master/README.md#deb
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
see [Rfid Server documentation](http://gitlab.fimacomarketing.com:10080/PeripheryServer/PeripheryServer/raw/master/Daemons/RFIDServer/bin/help.txt)
\ No newline at end of file
......@@ -124,7 +124,7 @@ app.post("/ctl/disconnect", (req, res) => {
});
app.post("/ctl/connect", (req, res) => {
state.devices = makeDevice([]);
state.devices = [makeDevice([])];
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!