Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrzejszelag/gym
A web-based application to collect information about the members of a gym | πΆπΆπΆ Builder Design Pattern πΆπΆπΆ
https://github.com/andrzejszelag/gym
hibernate-orm java junit5 lombok maven postgresql-database spring-boot
Last synced: 24 days ago
JSON representation
A web-based application to collect information about the members of a gym | πΆπΆπΆ Builder Design Pattern πΆπΆπΆ
- Host: GitHub
- URL: https://github.com/andrzejszelag/gym
- Owner: AndrzejSzelag
- Created: 2024-08-30T16:32:39.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T12:58:42.000Z (about 2 months ago)
- Last Synced: 2024-10-14T20:40:40.116Z (24 days ago)
- Topics: hibernate-orm, java, junit5, lombok, maven, postgresql-database, spring-boot
- Language: Java
- Homepage: https://github.com/AndrzejSzelag/gym
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GYM
### A web-based business application with Spring Boot to collect information about the members of a gymπΆπΆπΆ Inside this project you find: __Builder Design Pattern__ πΆπΆπΆ
![login_blad.java](login_blad.png "GYM - login")
![index.java](index.png "GYM - index")
![clients.java](clients.png "GYM - clients")### Tech Stack
* πΆ Java 17.0.6 LTS
* πΆ Spring Boot 3.3.2
* πΆ Apache Maven 3.9.8
* πΆ Hibernate ORM 6.6.0.Final
* πΆ Lombok 1.18.34
* πΆ PostgreSQL 16.3### Testing
* πΆ JUnit 5.9.3
* πΆ AssertJ 3.26.3
* πΆ Mockito 5.13.0### IDE
* πΆ IntelliJ IDEA 2024.1.4 (Ultimate Edition)### Video
Coming Soon### Requirements & How to run
1. Log into __Windows 11 Pro__ with a user that is a direct member of the Administrators group.
2. Download, install and configure:
* __Java 17.0.6 LTS__,
* __Apache Maven 3.9.8__,
* __PostgreSQL 13.6__:**ATTENTION**: You need to create a schema, database, user, password and put them in the __application.properties__ file:
spring.datasource.url=jdbc:postgresql://localhost:5432/
spring.datasource.username=
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update3. Clone a Github Repository to __D:__ partition:
git clone https://github.com/AndrzejSzelag/gym.git
4. In command line Windows, go to folder __D:\gym__, and run command:
mvn clean install
5. In command line Windows, go to folder __D:\gym\target__ and run command:java -jar gym-1.0.0.jar
6. In your Web browser paste a URL:
https://localhost:7777
**ATTENTION**:
1. You should see the login page of the GYM application.
2. You should register a new user and log in on his account next.