A microservice which authenticates a login.
Login pages are always the first thing we make when we start a project. meh! 😪
Honestly, it consumes unnecessary time and repetitive effort. To get rid of this I present you, Alohomora - A small microservice which just needs your DB credentials to start validating your logins for you.
/login/table/{tableName}
🤙 Type : POST
🤙 Consumes : application/json
🤙 Example Json to send:
{
"username" : "aman",
"password" : "password"
}
🤙 Return Type : Boolean
True => if username and password is present in database
False => otherwise
* Java 7 or Above
* Maven
* Clone the repository : git clone https://github.com/3point141/Alohomora-login-authenticator-microservice.git
* At the root directory of project run : mvn clean install -DskipTests
Now you have generated the jar file in the target folder.
Run the jar file generated (Alohomora-1.0.jar).
java -jar Alohomora-1.0.jar -d <database connection url> -u <username> -p <password>
| CommandLine Argument | Purpose |
|---|---|
| -d | Database Connection URL |
| -u | Username required to login the database |
| -p | Password required to login the database |
I know the feeling. Sometimes all we need is something we can just plug and play. Docker to your rescue.
* Docker (Common! just one thing)
LOL Working on containerising the application. Just few more days ☕
Made with ❤️ by Aman Kumar
⚡ This project is in very early stage. Some bugs can be noticed frequently. Feel free to test and report the bugs.