Giter Club home page Giter Club logo

crud-full-stack-app's Introduction

Crud Application

General Info

This project is full stack crud application implemeneted with Spring Boot and React js.

Technologies

Requirements

  • OpenJDK 1.8
  • Maven 3.x
  • Git 2.x
  • MySQL 5.x
  • Node.js 6.x

Setup

To run this project first you need to follow some steps

  • Step 1

    • Create a database in MySQL named springbootcrud
    • Make changes in application.properties so it matches your SQL information
      • username
      • password
  • Step 2

    • Run Application.java located in ./springbootcrud-webapp/src/main/java/gr/publicsoft/springbootcrud. This will enable the back end in http://localhost:8080
  • Step 3

$cd ../my-app
$npm install
$npm start

Connect React js with spring boot running in http://localhost:3000

You have a fully functional project!

Description

  • Implementing the back end with Spring Boot

    • SupplierController : This generates the APIs for function CRUD
    • Supplier : Describes the table that exists in springbootcrud Database. This table is auto created in database the first time you run the Application
    • SupplierRepository : By using JPA repository we have access to usefull methods and also we implement more methods in order to add functions in the appication
    • SupplierService : There we implement all the methods we later use to create the controler (get, post, put, delete)
  • Implementing the front end with React Js

    • App.js : There we have all the routes that are connected with the components
    • components : We implement every component we need to "translate" back end services in front end. For example the AddSupplierComponent.jsx implements the addSupplier service we generated in Spring Boot
    • SupplierService.js : There we used axios HTTP client to gain access

crud-full-stack-app's People

Contributors

tferfce avatar

Watchers

 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.