SecurePasswordStorage is a Java Spring Boot application designed to securely store and manage user passwords. The application provides endpoints for creating users, logging in and changing passwords.
- Create a new user account
- User login with validation
- Change user password
- Secure password storage using hashing
- Hashing with Salting implementation
- Java 17 or higher
- Maven 3.6.3 or higher
- Git
-
Clone the repository
git clone https://github.com/virtualISP/SecurePasswordStorage.git cd SecurePasswordStorage
-
Build the project
mvn clean install
-
Run the application
mvn spring-boot:run
After running the application, you can access the endpoints via any API client like Postman or can interact with the beautiful frontend interface via any browser.
You can test the functionalities using Postman or any other API client. Also you can interact and test the functionalities through the browser.
- Create a new user:
- Send a POST request to
/user/create
withusername
andpassword
as parameters.
- Send a POST request to
- Login a user:
- Send a POST request to
/user/login
withusername
andpassword
as parameters.
- Send a POST request to
- Change a user's password:
- Send a POST request to
/user/changePassword
withusername
,oldPassword
, andnewPassword
as parameters.
- Send a POST request to
Contributions are welcome! Please create a pull request or raise an issue to discuss any changes.
- Fork the repository
- Create a new feature branch (
git checkout -b feature/feature-name
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/feature-name
) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.