This project has connection with mysql database.You can chnage the required information with your database in datasourec.json
In datasource.json, replace the crediatials with yours to send the email in email json.
- you can create the table in mysql database by using below command
- node bin/createDb.js
- Whenever you add new model or update any existing model, run the below commant so that changes can reflect in your database.
- node bin/updateDb.js
-
In this project, I have implement the code if user update the role of user.
-
To change the password you can use change user password in remote method. if you are using loopback3 , it already provide chnage userpassword method. so you dont need to use this.
-
Clone the below url
https://github.com/shyam528/user-management-loopback.git -
To install all the node packages npm install
-
To run the project node .
Email me on [email protected] if you have any query about loopback framework