Is a simple Java-based program designed to manage and monitor various aspects related to meter readings and user submissions. The application offers different user interfaces for both regular and administrative users, allowing them to perform tasks such as submitting readings, accessing submission history, and managing meter types.
User Authentication: Users can register, log in, and log out, ensuring secure access to the system. Submission Management: Users can submit meter readings, view their submission history, and retrieve specific submissions by date. Administrative Actions: Administrators have additional features, including adding new meter types, accessing audition event history, and retrieving submission information for specific users.
- sprint 1 Entities, in-memory collections, console interface, javadoc, service tests
- sprint 2 Docker + postgres, liquibase migrations, repository tests
- sprint 3 Servlets + tomcat, jackson, validations, aspects, logging
- sprint 4 Spring + controllers, jwt auth, rest template, open api + swagger
![img.png](img.png)
By default, added user 'admin' with password 'admin' and administrative role
to run tests, add -Denv=test
- Clone the repository
- Open a terminal or command prompt.
- Navigate to your project directory.
- Run the following command to execute your application:
./gradlew clean war
docker compose up -d
gradlew.bat clean war
docker compose up -d
The Gradle wrapper will download the specified Gradle distribution, compile and run your Java application. You need to have docker installed