https://github.com/altafjava/signup-login-forgot
https://github.com/altafjava/signup-login-forgot
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/altafjava/signup-login-forgot
- Owner: altafjava
- Created: 2019-10-26T10:48:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T16:51:33.000Z (over 1 year ago)
- Last Synced: 2025-01-12T23:12:26.349Z (12 months ago)
- Language: Java
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Requirements to execute the project
1. Clone project from [Github Link](https://github.com/altafjava/signup-login-forgot.git).
2. Import as Existing Maven Projects if it is Eclipse.
3. Install mongodb in your local system with default port 27017.
4. Run SignupLoginForgotApplication as Spring Boot App.
# How to test the Program
1. Install Postman.
2. Execute the Project. (Run com.truck.TruckApplication as Spring Boot App/Java Application).
3. Go to [API Documentation](http://localhost:9999/swagger-ui.html) to know the API details.
# Example
**URL :** localhost:9999/test
**URL :** localhost:9999/signup
**Input :**
**Body :** application/json
```
{
"firstName": "Sam",
"lastName": "Altaf",
"mobile": "7995504416",
"email": "altaf@gmail.com",
"password": "altaf",
"role": "USER"
}
```
**Output :**
```
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI1ZDM0NzcxMzc2YmYxNzNmMzBlMmU3M2IiLCJpYXQiOjE1NjM3MjAwODksImV4cCI6MTU2Mzc2MzI4OX0.02LH6OJCiT95pnFCMTwZV-rDUkPrAn5B4UuwWCz0vjKXnb15VZ9sdmdbKAXz9ZCkULSg0IAfYycHbZScMAGGoQ
```