A spring-boot CRUD API with maven setup. Added Basic auth settings to the project.
- git clone git@github.com:regulapati-n/webapp.git
- Install maven in your system and java 17 openjdk and Mysql
- change to project directory in terminal and run the below commands.
- mvn clean install
- mvn spring-boot:run
- check the logs for the application urll.
- Default port is 8080 and runs in localhost.
- press command+c to stop the serverr.
- if you wish not to install maven.You can run following commands on respective OS.
- ./mvnw spring-boot:run (unix)
- ./mvnw.cmd spring-boot:run (windows)
- change to the repo directory.
- run the below command.
- mvn test
- http://nixor.me/healthz (health check api)
- http://localhost:8080/v1/user (POST -- basic auth user creation)
- http://localhost:8080/v1/user/self (GET -- get current logged user information)
- http://localhost:8080/v1/user/self (PUT -- update user information)
Added Integration Tests