https://github.com/rbkgh/rodney-java-hackerrank-challenge-1
Java: Spring Boot Code Verification Challenge
https://github.com/rbkgh/rodney-java-hackerrank-challenge-1
Last synced: 9 months ago
JSON representation
Java: Spring Boot Code Verification Challenge
- Host: GitHub
- URL: https://github.com/rbkgh/rodney-java-hackerrank-challenge-1
- Owner: RbkGh
- Created: 2019-07-08T23:24:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-08T23:27:15.000Z (about 7 years ago)
- Last Synced: 2025-03-05T03:41:32.805Z (over 1 year ago)
- Language: Java
- Size: 101 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Rodney-HackerRank-Java-Backend-Challenge
### Quick Start
```$xslt
1. mvn clean spring-boot:run (run application,defaults to http://localhost:8000)
OR
2. mvn clean install (INSTALL)
OR
3. mvn clean test; cat target/customReports/result.txt (Run dynamic tests)
or
4. mvn test (run all tests in test directory)
```
### Run With Docker
```$xslt
1. mvn clean package (clean package)
2. docker build -t rodney-hackerrank-java-app .
3. docker run -p 8000:8000 rodney-hackerrank-java-app (application will be live on http://127.0.0.1:8000
You can type : docker images (to show docker images )
```
### Folder Structure
.
├──src # Source files
├─├--main # Main Folder
├─├--├--java # Java Folder
├─├--├----com.hackerrank.github # Package name
├-├--├-------comparator # Comparators for sorting lists ,Highest streak comparators and others
├-├--├-------config # App global configuration for date and other app-wide config
├-├--├-------controller # Events and Actors Api controllers
├-├--├-------datautil # Non-database entity models used in app
├-├--├-------exception # Exceptions package,SameDayException and other custom exceptions.
├-├--├-------model # Database entity models
├-├--├-------repository # CrudRepository and all database repositories are here
├-├--├-------service # Service classes for feeding various controllers are here.
├-├--├-------util # DateUtil singleton class,for date calculations and other date manipulations.
├-├--├----------Application # Base Application class that runs app
├-├--├resources # App configuration resources eg application.properties is here.
├-├--├test # Test Folder where all Tests reside
├-├--├--java
├-├--├--├--com.hackerrank.github
├-├--├--├-----ComparatorTest # Comparator custom unit tests
├-├--├--├-----HttpJsonDynamicUnit # Dynamic Unit Tests from json files
├-├--├--resources # Http json test files are here
├-├target