Basic spring-boot CRUD API with maven setup. Added Basic auth settings to the project.
- git clone [email protected]: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
- https://nixor.me/healthz (health check api)
- https://localhost:8080/v1/user (POST -- basic auth user creation)
- https://localhost:8080/v1/user/self (GET -- get current logged user information)
- https://localhost:8080/v1/user/self (PUT -- update user information)
Added Integration Tests