Skeleton of nodeJs express routers + websocket(express-ws) setup
$10-30 USD
Imekamilika
Imechapishwa about 6 years ago
$10-30 USD
Kulipwa wakati wa kufikishwa
Hi all, we are looking for nodeJs developer who can setup the skeleton of the nodeJs code with requirement below -
1. use expressJs generator to generate the structure of the application
[login to view URL]
2. use 'express-ws' library to setup websocket
3. put all non-websocket routers into file "[login to view URL]", the base folder will be '/standard'
4. put all websocket routers into file "[login to view URL]", the base folder will be '/ws'
5. both non-websocket and websocket app & routers will have to listen to same port, ie. 3000
So the expected result will be like this -
a. by doing GET/POST on path '/standard', it will use the routers in [login to view URL]
b. by doing WS request on path '/ws', it will use the websocket routers in [login to view URL]
We need the code that can demonstrate the right result as above. Think that's a quick one if you already have experience on doing that. Thanks!