Coder Social home page Coder Social logo

hhy5277 / angular-spring-reactive-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hantsy/angular-spring-reactive-sample

0.0 1.0 0.0 432 KB

Reactive RESTful API demos with Spring 5, Spring Boot 2, Spring Data Mongo Reactive, Spring Session and Angular 5

Home Page: https://medium.com/@hantsy/build-a-reactive-application-with-spring-boot-2-0-and-angular-de0ee5837fed

License: GNU General Public License v3.0

TypeScript 49.13% JavaScript 1.42% CSS 1.48% HTML 7.86% Kotlin 7.86% Java 32.24%

angular-spring-reactive-sample's Introduction

Table of Contents generated with DocToc

Angular Spring Reactive Sample

This application demonstrate building backend RESTful APIs with the newest Reactive stack introduced in Spring 5, and creating the frontend SPA with Angular 5.

Read the comprehensive step by step guide to get more details.

Project structure

  • client - The client application built with Angular CLI.
  • server - The backend RESTful APIs.

Build

Clone the source codes into your local system.

git clone https://github.com/hantsy/angular-spring-reactive-sample

Server

The backend is a Spring Boot based application, make sure you have installed the following software:

  • Apache Maven
  • Oracle JDK 8
  • Docker & Docker Compose

There is a docker-compose.yml file in the project root folder.

Starts up required MongoDb and Reids service in the background by executing the following command.

docker-compose up

NOTE: You can also install a local MongoDb and Redis instead of using Docker.

Then run the application by Spring boot maven plugin directly.

mvn spring-boot:run

Client

The client application is generated by Angular CLI.

Enter client folder, execute the following command to run the frontend UI.

npm install
npm run start

Open your favorite browser, and navigate to http://localhost:4200.

Contribute

Welcome to contribute this project. If you have some ideas do not hesitate to file an issue or send a PR directly.

angular-spring-reactive-sample's People

Contributors

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