falomaine.blogg.se

Spring mvc + hibernate todolist app
Spring mvc + hibernate todolist app













  • The next “backest” layer we have is the service layer.
  • There really isn’t much code in here and it just calls methods from its parent, JpaRepository. This is the “backest” code in the backend. Don’t worry, this will make more sense with the code. This will be the basis for our data retrieval from the HSQL database (or any database we have chosen). Simply, they are the connection to our glorious backend server!

    spring mvc + hibernate todolist app

    REST endpoints also relate to the CRUD operations (create, read, update, and delete) by helping us create requests. A REST Service Endpoint gives users access to a set of REST resources. REST stands for Representational State Transfer. This means that whenever we restart our program, our data (TODOs) from the last session will be lost. We are simply saving them in our computer…until we shut down our program and restart for a new session. In-memory means that we aren’t saving our data in another “app” for later. HSQL, in layman’s terms, is a small and fast in-memory database. Let’s get started with the Backend - the “end” doing all the main logic to properly interact with our HSQL database as well as provide our REST Endpoints so we can access those from our front end. Basic understanding of APIs, Javascript, HTML.Basic understanding in Object Oriented Programming - with Java.Security (via Spring Security - OAuth2).Testing of our TODO App (via Selenium, Karate, Cucumber).Various other React tools (like Router).

    spring mvc + hibernate todolist app

    React Bootstrap ( Form, Dropdown, Modal, etc.).Front-end integration with Back-end Logic.Fetching from our custom-made API (via axios).What Components are in ReactJS (and how to create them).How to use Lombok, Spring Boot & Hibernate Annotations.How to integrate HSQL with Spring Data JPA.How to use Spring Boot with Java to create REST API Endpoints.















    Spring mvc + hibernate todolist app