Git Product home page Git Product logo

react-java-spring-boot's Introduction

Full Stack with Spring Boot and React

  • The localStorage and sessionStorage properties allow to save key/value pairs in a web browser.

  • The sessionStorage object stores data for only one session (the data is deleted when the browser tab is closed)

  • To ensure that header menus are updated whenever the router is called we need to wrap HeaderComponent with a call to withRouter.

  • Spring Boot is an open source Java-based framework used to create a Micro Service. It is developed by Pivotal Team.

  • Spring Boot contains a comprehensive infrastructure support for developing a micro service and enables you to develop enterprise-ready applications that you can “just run”.

  • Maven is a build automation tool used primarily for Java projects.

  • Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories such as the Maven 2 Central Repository, and stores them in a local cache.

  • In Spring MVC all incoming requests go through a single servlet is called Dispatcher Servlet (front controller). The front controller is a design pattern in web application development. A single servlet receives all the request and transfers them to all other components of the application.

VSCode (Java)

  1. Install vscode-spring-initializr Extension (Spring Initializr)
  2. Once you have the extension installed, open the Command Palette (⇧⌘P) and type Spring Initializr to start generating a Maven or Gradle project and then follow the wizard.
  3. Generate Maven Project --> Java
  4. Install Spring Boot Tools And Spring Dashboard (Run the application) Extensions.

alt text

alt text alt text alt text

The meaning of Encapsulation, is to make sure that "sensitive" data is hidden from users. To achieve this, you must:

  1. declare class variables/attributes as private
  2. provide public get and set methods to access and update the value of a private variable
  3. The get method returns the variable value, and the set method sets the value.

@Override annotation is used when we override a method in sub class.

alt text

Spring Initializer - https://start.spring.io (Select dependencies --> Web, DevTools, JPA, H2)

alt text

react-java-spring-boot's People

Stargazers

 avatar

Watchers

 avatar Shubham D avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.