jkyberneees / hydra-integration

Minimalist 'hydra integration' module, intended for Node.js web frameworks integration.
MIT License
14 stars 4 forks source link

sails implementation with hydra #5

Open udayavmoksha opened 6 years ago

udayavmoksha commented 6 years ago

Hi , I'm new to this hydra concept and trying to understand sails implementation with hydra.

Can you guide me sails with hydra in deep, you can reach me at udaya@vmokshagroup.com

jkyberneees commented 6 years ago

The hydra-integration module does a very simple task, extract REST endpoints from known API frameworks and publish them on the hydra service directory. The sails integration works in the same way, REST endpoints of your sails application are exposed as routes in the hydra service directory.

For more details please refer to: https://github.com/jkyberneees/hydra-integration/blob/master/libs/sails0-strategy.js

Looking forward to hear more from you, Regards

udayavmoksha commented 6 years ago

Hi ,

I've integrated my sails code with the hydra.

I could see that it was connected to my Redis server and writing the data to Redis and route details there.But I could not access the routes (i feel the server is not running)

Can you help me? attaching app.js below

image