Code Monkey home page Code Monkey logo

angularjs-springmvc-sample's Introduction

angularjs-springmvc-sample

An example application using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer.

##Requirements

  • JDK 8

    Oracle Java 8 is required, go to Oracle Java website to download it and install into your system.

    Optionally, you can set JAVA_HOME environment variable and add <JDK installation dir>/bin in your PATH environment variable.

  • Apache Maven

    Download the latest Apache Maven from http://maven.apache.org, and uncompress it into your local system.

    Optionally, you can set M2_HOME environment varible, and also do not forget to append <Maven Installation dir>/bin your PATH environment variable.

Run this project

  1. Clone the codes.
<pre>
git clone https://github.com/hantsy/angularjs-springmvc-sample
</pre>
  1. And enter the root folder, run mvn tomcat7:run to start up an embedded tomcat7 to serve this application.
<pre>
mvn tomcat7:run
</pre>
  1. Go to http://localhost:8080/angularjs-springmvc-sample/ to test it. If you want to explore the REST API docs online, there is a Swagger UI configured for visualizing the REST APIs, just go to http://localhost:8080/angularjs-springmvc-sample/swagger-ui.html.

Spring Boot

If you are interested in Spring Boot, I have moved the boot branch into a new project angularjs-springmvc-sample-boot.

angularjs-springmvc-sample's People

Contributors

hantsy avatar

Watchers

James Cloos avatar talalUcef 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.