GithubHelp home page GithubHelp logo

alokkulkarni / springbootangular Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 109 KB

springboot with Angular 2

Shell 32.73% Batchfile 23.21% Java 3.15% TypeScript 29.83% JavaScript 9.26% HTML 1.45% CSS 0.37%
springboot spring-mvc spring-security spring-cloud spring-data spring-data-rest spring-integration angular2

springbootangular's Introduction

SpringbootAngular

springboot with Angular 2

first change folder location from parent to src/main/webapp

run "ng build" command to build the angular project in dist under webapp

go back to the root folder of the application and execute below command

mvn spring-boot:run or mvn clean package -DskipTests or mvn clean install -DskipTests

in the pom.xml file there is a maven resource plugin added which will copy the compiled frontend static resources from webapp/dist directory to target/classess/static folder.

now you can just go to http://localhost:8080 and Hurray !!!!

you will see below output which is default template loaded when execuing angular 2 application

"app Works !!"

Enjoy and happy Coding !!!

springbootangular's People

Contributors

alokkulkarni avatar

Stargazers

 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.