Skip to content

This is a microservice built in nodejs and rabbitmq and uses RPC (Remote Procedural Call) method for data communication between client-server

License

Notifications You must be signed in to change notification settings

shahabvshahabi1996/authenication-microservice-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Micro-Services Authentication

nodejs

this is a microservice built with rabbitmq and nodejs and using with RPC(remote procdural call) method

Features

  • using rabbitmq server 😏
  • has two microservices (db-service and user-service) 😛
  • unit testing with mochajs
  • fast and easy to work
  • using ejs view engine

How to run it ??

first you'll need to clone the project and hit npm install to install packages THEN :

1. Start Rabbitmq Server :

For running rabbitmq server just simply tyupe rabbitmq-server start and it will start automaticly and to check that go to http://localhost:15672/ and you can see the login page for monitoring!

2. Start Server Side (db-service) :

For starting client side just go to db-service directory and then hit the command : node server then go to http://localhost:3000

3. Start Client Side (user-service) :

For starting client side just go to user-service directory and then hit the command : node server

About

This is a microservice built in nodejs and rabbitmq and uses RPC (Remote Procedural Call) method for data communication between client-server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published