Spring Boot Application to analyze text documents.
- JDK 11
- Maven 3+
- Spring Boot
- Spring Web
- Spring Validation
- Spring Data JPA / Hibernate
- H2 Database
- Lombok
Users created via SQL script: src\main\resources\data.sql
Data:
- 3 users: user1@gmail.com, user2@gmail.com, user3@gmail.com
- 3 documents: sample1.txt, sample2.txt, sample3.txt
- 2 teams: team1, team2
User1 uploaded {sample1.txt, sample2.txt}. User2 uploaded {sample3.txt}
Team1 has {user1, user3}. Team2 has {user1, user2}
More details, please check "data.sql" file.
H2 database can be accessed via: http://localhost:8080/h2
JDBC URL: jdbc:h2:~/docanalyzer
User Name: h2
REST controllers: src\main\java\com\visiblethread\docanalyzer\controller
The Postman collection with all the API requests can be found on JSON file:
- Document Analyzer.postman_collection.json
Please import this file to your Postman.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Configuration Processor
- Spring Data JPA
- Validation
The following guides illustrate how to use some features concretely: