RESTful API to manage user system.
- Node JS
- MySQL Database
https://user-manage-app.herokuapp.com/GET: Get a particular user data.POST: Create a new user in the system.PUT: Update an existing user data.DELETE: Delete an existing user.
/user/:username- Return a particular user's data.
- Client should be provide the user's password in the request body.
/user- Create a new user.
- Client should be provide all the placeholder values (
name,username,email,password) to create a new one. Theusername& theemailwould be unique.
/user/:username- Update an existing user. The require placeholder values should be passes as request body.
- Placeholders:
name,username,email,password,newPassword - The
password: is the user's current password and thenewPassword: is the user's new password to be changed. Thepasswordis required and others are optional. - All the placeholder values should be passes as request body
- User can edit everything
/user/:username- Delete an existing user data according to its username.
- The user's password should be passes as request body