Git Product home page Git Product logo

samplesetupmysqlelasticsearch's Introduction

Sample Setup MySQL with Elastic Search

This is a demo Spring Boot Project with Maven for learn how to develop api's and frontend. It includes step by step structure from api's to frontend in all commits. To run this project you needs to install Java, MongoDb and NodeJS.

What is this repository for?

This repo is for demo for front end and api's in backend using springs, MySQL, Angular.js. Version 1.0

How do I get set up only for api's?

  • Create a new Spring starter project in STS.
  • Choose Web, MySQL and Thymleaf.
  • Select default java version and stable spring boot version.
  • Finish, demo api's base ready and follow the structure in this demo api commit 'Initial Commit'
  • From command line goto the project folder and run the following commands:
    mvn clean install
    mvn spring-boot:run
    
  • If no error in running the project then api's are ready to test from local host.

How do I get set up backend and frontend both?

  • Follow the above api's steps for backend.
  • Goto the project directory and make directory (like mkdir frontend).
  • Goto frontend folder and run the below commands:
    npm init
    npm install --save-dev gulp
    cat package.json
    npm install gulp-connect --save-dev; npm install --save angular
    

How to debug spring project lint to line?

  • Run Command: Below command runs dev profile with debugging port 5090
mvn spring-boot:run -Drun.arguments="--spring.profiles.active=dev" -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5090"
  • Goto Debug Configurations, then right click on Remote Java Application and create a new file test_debug.
  • Open test_debug set host as local host and port as 5090
  • Place Break points on which you want to debug.
  • Download tools for linux

How do I talk to repo admin?

samplesetupmysqlelasticsearch's People

Contributors

goyalzz avatar krishan101090 avatar

Watchers

 avatar  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.