Java Srping is a Framework that has a modular structure and great flexibility to implement different types of architecture according to the needs of the application.
Table of Contents
In this repository you will find a brief summary of what was learned in the platzi course of Java Spring.
With Java Spring you can develop projects with infrastructure support at the application level, providing a complete model for both configuration and programming. Spring stands out for its injection of dependencies, which helps to have classes that are independent of others, to increase the possibility of reusing them and testing them independently of other classes, while testing the units.
This repository is divided into the following parts.
- The steps to clone the repository and be able to view it.
- The main topics seen in the course
- Some of the basics concepts taught.
- Skills acquired at the end of the course.
For this repository, The database that was used for the management of the information that will be exposed in the API was used PostgreSQL.
- Fork this repo
- Clone this repo
$ mkdir java-spring
$ cd java-spring
$ git clone https://github.com/DiBarrera/java-spring.git
You will find the following files:
- The src directory, containing the main files used for the course.
- The build.gradle file which will be used to open the application correctly, instead of the root directory.
With java spring you can create more modular applications, what was seen in this course provided the knowledge on how to make proper use of java spring in an application. Below are the main topics seen from the Java Spring course.
- Create an application with Spring Initializer.
- Configure Spring Boot.
- Create a structure for a project.
- JPA.
- Spring Data.
- Connect the database with the application.
- Map tables with classes.
- CRUD Repository.
- Query Methods.
- Dependency injection.
- Set up a development environment.
- Connect to a database.
- Manage the Spring ecosystem.
- Document an API.
- Create an application with Spring Initializer.
- Configure Spring Boot.
- Create a structure for a project.
- Connect the database with the application.
- Create an Entity when primary key is composite.
- Map relationships between classes.
- Using the CrudRepository interface.
- Use the data mapper pattern.
- Dependency injection.
- Control HTTP responses.
- Document an API with Swagger.
- Configure an API security with Spring Security.
- Generate a JWT.
- Authentication with JWT.
- Authorization with JWT.