Skip to content

TheSpaceMan915/spring-in-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring in Action

This is a repository that I've created in order to learn and practice using the Spring Framework.

Table of Contents

General Information

  • This is a personal study of a book "Spring in Action" by Craig Walls;
  • This repository aims to help me learn the Spring Framework;
  • I decided to create this repository because I like to practice using the tools and technologies that I am learning.

Technologies Used

  • Java 20;
  • Spring 6.0.10;
  • Thymeleaf 3.1.2;
  • PostgreSQL 15;
  • IntelliJ IDEA Ultimate 2023.2.1.

Features

  • Use MVC design pattern;
  • Use Thymeleaf;
  • Use various Spring modules.

Screenshots

Home Page

imgur

Taco Design Page

imgur

Taco Order Page

imgur

Setup

  • Install IntelliJ IDEA 2023.2.1;
  • Install openjdk-20.0.2;
  • Install PostgreSQL 15.

Usage

  • Clone this repo;
  • Open the project;
  • Choose a module that you'd like to run;
  • In that module find the corresponding pom.xml file (this is the file with the project dependencies);
  • By using the corresponding button reload the maven project;
  • If the module uses a database, find the corresponding application.yaml file in that module;
  • Enter the appropriate name, username, password and url;
  • Run the main application class (the class annotated with @SpringBootApplication);
  • If the module starts a web MVC application, you can access the application at localhost:8080;
  • If the module starts a RESTful service, you can try using the request files in the resources folder.

Project Status

The project is in progress.

Room for Improvement

Room for improvement:

  • Could add docker files for each module;
  • Could add JUnit tests for each module.

To do:

  • Start using Spring Security;
  • Start using MongoDB;
  • Start using Angular.

Acknowledgements

  • This repository is inspired by my desire to learn the Spring Framework;
  • The repository is based on the book "Spring in Action";
  • Many thanks to @habuma for writing such a wonderful book!

Contact

Created by @NikitaKolychev - feel free to contact me!