friend-service

Setup: $ git clone https://github.com/yadav-Keshav/friend-service.git $ cd friend-service $ npm install

Start:

$ npm run dev

or

$ npm start

Urls:
http://localhost:4000/friendservice/friend-request/<user_id>
http://localhost:4000/friendservice/approve-friend-request/<user_id>
http://localhost:4000/friendservice/reject-friend-request/<user_id>
http://localhost:4000/friendservice/get-recieved-friend-requests
http://localhost:4000/friendservice/get-sent-friend-requests
http://localhost:4000/friendservice/get-all-friends
http://localhost:4000/friendservice/remove-friend