From e9ae9f0dc72ae0eede196895d3de11567108c827 Mon Sep 17 00:00:00 2001 From: Oluwatunmise-olat Date: Sun, 28 Jan 2024 02:28:09 +0100 Subject: [PATCH] chore: update readme file --- README.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dff6d6a..fdd51d2 100644 --- a/README.md +++ b/README.md @@ -3,23 +3,66 @@ FastOTP-Java-Library facilitates quick and easy development and integration of J - **Contributors:** **Oluwatunmise Olatunbosun** +## Table of Contents + +- [Getting Started](#getting-started) + - [Prerequisites](#prerequisites) + - [Installation](#installation-jar-file) +- [Usage](#usuage) + - [Generate OTP](#generate-otp) + - [Validate OTP](#validate-otp) + - [Get OTP](#get-otp) +- [Contributing](#contributing) +- [License](#license) + # Getting Started -## Installation (Jar file) -### Maven +### Prerequisites + +- Java 17 or later +- Maven (for building and testing) -```bash +### Installation (Jar file) +To use Java-FastOtp in your project, follow these steps: +1. Add the following dependency to your project's `pom.xml`: +```xml com.oluwatunmise.Java-FastOtp-Library-1.0 java-fastotp-library-1.0 1.0 ``` +2. Make sure you have the necessary repositories configured in your pom.xml: +```xml + + + github + Github Oluwatunmise-olat FastOtp Library + https://maven.pkg.github.com/Oluwatunmise-olat/fast-otp-java + + +``` +3. Build Project +```shell +mvn clean install +``` +4. Test +```shell +mvn test +``` -Visit [Bintray](https://bintray.com/) ### Jar Download latest Java-FastOTP Library jar file from [here](https://github.com/Oluwatunmise-olat/fast-otp-java/releases/latest) +### Usuage + +### Generate OTP +### Validate OTP +### Get OTP + ## License -The MIT License (MIT). Please see [License File](LICENSE.md) for more information. \ No newline at end of file +The MIT License (MIT). Please see [License File](LICENSE.md) for more information. + +## Contributing +Contributions are welcome! If you find any issues or have enhancements, feel free to open a [GitHub issue](https://github.com/Oluwatunmise-olat/fast-otp-java/issues) or submit a [pull request](https://github.com/Oluwatunmise-olat/fast-otp-java/pulls). \ No newline at end of file