https://github.com/shahabvshahabi1996/authenication-microservice-nodejs
This is a microservice built in nodejs and rabbitmq and uses RPC (Remote Procedural Call) method for data communication between client-server
https://github.com/shahabvshahabi1996/authenication-microservice-nodejs
bson mocha mongodb-database nodejs rabbitmq rpc-client rpc-server
Last synced: about 2 months ago
JSON representation
This is a microservice built in nodejs and rabbitmq and uses RPC (Remote Procedural Call) method for data communication between client-server
- Host: GitHub
- URL: https://github.com/shahabvshahabi1996/authenication-microservice-nodejs
- Owner: shahabvshahabi1996
- License: mit
- Created: 2018-07-02T10:56:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T14:17:53.000Z (almost 8 years ago)
- Last Synced: 2025-10-23T16:51:30.825Z (8 months ago)
- Topics: bson, mocha, mongodb-database, nodejs, rabbitmq, rpc-client, rpc-server
- Language: JavaScript
- Homepage:
- Size: 4.17 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node Micro-Services Authentication

this is a microservice built with rabbitmq and nodejs and using with RPC(remote procdural call) method
# Features
- [x] using `rabbitmq` server :smirk:
- [x] has two microservices (db-service and user-service) :stuck_out_tongue:
- [x] unit testing with `mochajs`
- [x] fast and easy to work
- [x] 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`