Repository is for educational purpose - learning a Spring framework. I am watching the course about Spring framework, making some notes and adding them to the project, writing examples from the videos and mastering my skill in this framework.
The purpose of the project is learning more about the framework, how it should be used correctly to get the most benefit. As for me, I haven't got almost any experience of using Spring and now want to try it instead of using the Servlet API in web-applications.
In addition to, it is the first project, where I use the MarkDown language and make description to the project. So, the skill in using MarkDown language is being acquired too.
As there isn't a real or PET project, for viewing the all notes, which were made during my study, you can switch between branches and see my notes, some examples of code for each lesson.
For running some branches of the projects you need the next:
- Tomcat 9.0.60 - for running the Spring MVC application part.
- Xmind - if you need to edit some my notes and then save it. Otherwise, you can see my notes in .png extension without any downloading additional program.
- PostgreSQL 15 - for running the app with database. Also you can use another database. You can find the script of creating database in directory with name "database".
For running the database you can use as me PostgreSQL or create your own database on another SQL server
using the script file of creating the database.
Note: if you use another server not such
PostgreSQL you should change JDBC driver for working with it and configurate the connection to your
server in appropriate property file, which you must create manually. If you change driver, you should
make some changes in pom.xml file
For running the code you needn't install server and configure it, because the Spring Boot starter makes it instead of you using the pom.xml.
You can find an empty application configuration file,
which must be renamed to "application.properties" instead of "application.properties.origin". This file
contains only keys for configuration the application using the Spring Boot, so you can put your values to the file and run
application with this application configuration. You can find more about configuration of Spring Boot application on
the Internet.
For running the app on the server you need only run the main method in Java class. Also, you can
package app to the jar file and deploy the file on the server manually.
- Maven - Dependency Management
- Stanislav Hlova - All work - StasonMendelso