miracle URAC service
$ cnpm install miracle.urac 
SYNC missed versions from official npm registry.


Build Status Coverage Status Known Vulnerabilities

Miracle URAC is a service that manages all users accounts for all tenants.

This service is also equipped with an optional mail notification system that is configurable.

The URAC offers the ability to override the service access level as well as configuration for specific users.

The service is Multitenant and provides the:

  • ability for administrators to control user accounts, groups and access levels.
  • ability to update profile and preferences for logged in members.
  • ability to register and login for anonymous users.


$ npm install miracle.urac
$ cd miracle.urac
$ node.

##Features Once Installed and running, the URAC service offers different APIs to manage users:

Public APIs:


$ CURL -X POST http://localhost:4000/urac/login -d 'username=john&password=johnpassword'


$ CURL -X GET http://localhost:4000/urac/logout -d 'username=john'

Forgot Password

$ CURL -X GET http://localhost:4000/urac/forgotPassword -d 'username=john&email=johndoe@domain.com'


$ CURL -X POST http://localhost:4000/urac/join -d 'username=john&password=johnpassword&firstName=John&lastName=Doe&email=johndoe@domain.com'

Members APIs:

Edit Profile

$ CURL -X POST http://localhost:4000/urac/account/editProfile -d 'uId=123&username=john&firstName=John&lastName=Doe&profile={'gender':'male'}'

Change Password

$ CURL -X POST http://localhost:4000/urac/account/changePassword -d 'uId=123&oldPassword=johnoldpassword&password=johnpassword&confirmation=johnpassword'

Change Email

$ CURL -X POST http://localhost:4000/urac/account/changeEmail -d 'uId=123&email=newemail@domain.com'

Administrator APIs:

List Users

$ CURL -X GET http://localhost:4000/urac/admin/listUsers

Add User

$ CURL -X POST http://localhost:4000/urac/admin/addUser -d 'username=john&firstName=John&lastName=Doe&email=johndoe@domain.com'

Edit User

$ CURL -X POST http://localhost:4000/urac/admin/editUser -d 'uId=123&username=john&firstName=John&lastName=Doe&email=johndoe@domain.com&status=active'

Change User Status

$ CURL -X GET http://localhost:4000/urac/admin/changeUserStatus -d 'uId=123&status=active'

##Templates The URAC is also equipped with templates used by Miracle notification system. These templates are configurable, can be themed and are rendered using SWIG and contain data from URAC service.

Templates are located in the registry of Miracle.

More information is available on Miracle website section for URAC.

Current Tags

  • 2.5.9                                ...           latest (10 months ago)

2 Versions

  • 2.5.9                                ...           10 months ago
  • 2.5.8                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (18)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |