1.0.5 ā€¢ Published 4 years ago

db-socket-server v1.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

db-socket-server

npm version

A server sides for access db, Based on socket.io.

Features

  • Provide any data to client based on WebSocket
  • A middlewale liked between clients(browser or more) and server
  • Lightweight and friendly to use šŸ˜

Installing

Using npm:

$ npm install db-socket-server

Using yarn:

$ yarn add db-socket-server

How to use

node index.js

// Before to use it, You need consummate some config info in config folder
ā”œā”€ā”€ db.js
ā”œā”€ā”€ server.js
ā”œā”€ā”€ sign_params.js
ā””ā”€ā”€ socket.js
// db.js
{
  host: "", // required
  user: "", // required
  password: "", // required
  port: "", // required
  database: "", // required
}
// sign_params.js this three params must match the client's params which used for login
{
  key: "", // required
  iv: "", // required
  salt: "", // required
}

License

MIT

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago