Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.42 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.42 KB

User Login Steps

Installation Setps

For further reference, please consider the following sections:

Pre-Requisites on Local Machine

  • Java 1.8
  • Maven
  • Mysql running on port 3306

Installation

  • Once Installation is done follow following steps:
    • Set the properties into the application.properties as:
      • spring.datasource.username=(set your Mysql UserName)
      • spring.datasource.password=(set your Mysql password)
    • Optionally if the database name test or the port 3306 conflict with the existing configuration you can always change them by hand in application.properties

Steps to Run

Documentation

Problem statement

  • The app when it comes up will have 2 users created in the system -

  • [email protected] cant login but [email protected] can

  • You can use the try it out feature on the swagger page with for the /login API to simulate this.Alternately you can use any choice of REST client for the same.

  • The output expected out of this is as follows

    • Debug why the login for [email protected] fails.
    • Once the bug is discovered fix it and submit the assignment via git