Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagojacinto/spring-boot-java-studentapp
Little project to learn Spring Boot & Java application development.
https://github.com/thiagojacinto/spring-boot-java-studentapp
bootstrap4 html java spring-boot
Last synced: 6 days ago
JSON representation
Little project to learn Spring Boot & Java application development.
- Host: GitHub
- URL: https://github.com/thiagojacinto/spring-boot-java-studentapp
- Owner: thiagojacinto
- License: mit
- Created: 2019-11-11T20:29:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T01:24:55.000Z (about 4 years ago)
- Last Synced: 2023-03-10T05:46:54.507Z (almost 2 years ago)
- Topics: bootstrap4, html, java, spring-boot
- Language: JavaScript
- Size: 128 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Boot + Java: StudentApp
![GitHub contributors](https://img.shields.io/github/contributors/thiagojacinto/spring-boot-java-StudentApp)
![Twitter Follow](https://img.shields.io/twitter/follow/higuetari?style=social)Little project of a simplified Student Management System to learn Spring Boot & Java application development. Inspired by [Amigoscode: "Getting started with Spring Boot"](https://youtu.be/Ke7Tr4RgRTs) & many others sources.
## Using "StudentApp"
To use 'Spring Boot + Java: StudentApp', follow the steps showed on the inspiration video linked above. An active webpage with a live front-end to the project running on Heroku can be accessed here: https://studentapp-page.herokuapp.com
To run you will need a Java IDE (Eclipse recommended) and Maven, Spring Boot, Java 8 installed. The front-end uses [Bootstrap](https://getbootstrap.com/docs/4.3/components/) v4.3.1 (not running locally) to simplify the web-development. After version `1.3.beta`, "StudentApp API" uses PostgreSQL as database to store and retrieve data. Builded at Heroku, Postgres Plugin (add-on) was used.
## Important files
Back-end: deployed on Heroku container [StudentApp API](https://api-studentapp.herokuapp.com/students/findall);
|Description | File | Notes|
|:------------|:-----:|:-----|
|Depency organizer POM | [POM.xml](/pom.xml) | Maven configuration & dependency organizer|
|Main | [APIRestApp.java](/src/main/java/com/springbootdb/apistudents/ApiRestApp.javaa) | Main class calling 'SpringBootApplication' |
|Controller | [StudentController](/src/main/java/com/springbootdb/apistudents/controller/StudentController.java) | Controller class, connecting methods to JPA database functions.|
|Dao | [StudentRepositoryDAO](/src/main/java/com/springbootdb/apistudents/dao/StudentRepositoryDao.java) | DAO file with simple extension of 'JpaRepository' interface |
|Entity | [Student](/src/main/java/com/springbootdb/apistudents/model/Student.java) | Entity file |
|App Properties | [application.properties](/src/main/resources/application.properties) | Configuration to access PostgreSQL database|Front-end: doployed on Heroku container [StudentApp Web](https://studentapp.herokuapp.com);
|Description | File | Notes|
|:------------|:-----:|:-----|
|Javascript | [script.js](/web/script.js) | Core of integration between front-end and back-end software, handles information gathered from StudentApp API (JSON).|
|HTML main page | [index.html](/web/index.html) | Webpage displaying information from the server & giving interation opportunity to this user. Bootstrap v4 used to apply some style|## Contact
If you want to contact me you can reach me at [@higuetari](https://twitter.com/higuetari).
## License
This project uses the following license: [LICENSE]().
## Acknowledgements
- Initial thanks to [AmigosCode](https://github.com/amigoscode) to propose this tutorial;
- Oliver Trosien's [JPA + UUID](https://github.com/otrosien/uuid-jpa-rest-example);
- Michelli Brito's [API Rest](https://github.com/MichelliBrito/produtos-apirest);
- Grokonez's [JPA/Hibernate & PostgreSQL CRUD](https://grokonez.com/spring-framework/spring-boot/spring-jpa-hibernate-one-to-many-association-postgresql-springboot-crud-restapis-post-get-put-delete-example).