Coder Social home page Coder Social logo

chawlaji / springbootangularjsdemo Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 65 KB

Basic project for understanding spring boot and it's integration with Angularjs, With Embedded Web Service having CURD operations

Java 43.25% JavaScript 25.43% HTML 31.33%
spring-boot angularjs curd devtools actuator

springbootangularjsdemo's Introduction

SpringBootAngularjsDemo

Basic project for understanding spring boot and it's integration with Angularjs, With Embedded Web Service having CURD operations Added Live relaod (hot swapping) using DevTools

SpringBootSpring module which provides RAD (Rapid Application Development) feature to Spring framework. It is used to create stand alone spring based application that you can just run because it needs very little spring configuration. Spring Boot does not generate code and there is absolutely no requirement for XML configuration. It uses convention over configuration software design paradigm that means it decrease the effort of developer. ADV:

* Create stand-alone Spring applications that can be started using java -jar.
* Embed Tomcat, Jetty or Undertow directly. You don't need to deploy WAR files.
* It provides opinionated 'starter' POMs to simplify your Maven configuration.
* It automatically configure Spring whenever possible.
* It provides production-ready features such as metrics, health checks and externalized configuration.
* Absolutely no code generation and no requirement for XML configuration.

What is AutoConfigration ? -> configure all interdependent beans on the basis of dependencies present in pom i.e frameworks present on classpath and existing configuration for the application example-> is add spring mvc in pom-> spring boot will auto configure dispatcher servlet, view resolver etc.

embedded server ? -> tomcat bind with war, so direct deploy on Linux machine having only java

for monitoring it provides Actuator add entry to pom for acutator and hal browser

Access url-> localhost:port/actuator/index.html#/actuator

application.properties ->

//to access all metrics you need all access from spring security so better disable it on dev management.security.enabled=false

AutoRead Class files- > (one option is springLoaded http://blog.netgloo.com/2014/05/21/hot-swapping-in-spring-boot-with-eclipse-sts/)

easiest to configure DevTools-> auto reload for advance hot swapping as default hot swapping has limitations

just add dependency entry in pom.xml

it will work out of the box if any issues try adding below Application.properties spring.devtools.livereload.enabled=true

springbootangularjsdemo's People

Contributors

chawlaji avatar

Stargazers

 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.