Simple Backend server based on NodeJS and MongoDB using docker
NodeJS will run on port 8080
Contain Simple APIs
- User Login (POST /login)
- User Register (POST /user)
- User List (GET /user)
- User List with pagination (GET /user/{page})
- User Detail (GET /user/{id})
- User Update (PUT /user/{id})
- User Delete (DELETE /user/{id})
- Forgot Password (POST /forgotpassword)
- Reset Password (POST /resetpassword)
There is default user in database with credential email: [email protected] and password: admin
For forgot password, new password will be generated and sent via email. This password is temporary password that needs to changed using reset password.
If you want to receive email than you need to update add your gmail account email as user and password in base64 format in mail_configuration field of NodeJS/config.js. Refer https://www.base64encode.org/ to encode email and password to base64.