edda92 / RESTful-Calculator-Angular-7-Spring-Boot-2

Minimal RESTful Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Material Calculator (RESTful)

image

This is a Minimal RESTful Calculator implemented whit Core backend using JAVA Spring (Spring boot 2) REST APIs & Frontend using Angular 7 (https://angular.io/) / Angular Material design (https://material.angular.io).

Technology Stack

Component Technology
Frontend Angular 7
Backend (REST) SpringBoot (Java)
REST Documentation Swagger UI
REST Spec Open API Standard
Client Build Tools angular-cli, Webpack, npm
Server Build Tools Maven(Java)

Spring Boot

Spring framework is an open source Java platform that provides comprehensive infrastructure support for developing robust Java applications very easily and very rapidly.

Swagger UI

Swagger UI is used to document and test the REST API from browser. The console can be accessed from this address (http://localhost:8080/swagger-ui.html)

REST API

REST (REpresentational State Transfer) is an architectural style, and an approach to communications that is often used in the development of Web services. Modern-Ecommerce core backend support fully REST API to allow integarte with any Frontend platform

Getting Started

To install this example application, run the following commands:

git clone https://github.com/edda92/RESTful-Calculator-Angular-7-Spring-Boot-2.git
cd RESTful-Calculator-Angular-7-Spring-Boot-2

This will get a copy of the project installed locally. To install all of its dependencies and start each app, follow the instructions below.

To run the backend, cd into thec folder and run:

./mvnw spring-boot:run

To run the client, cd into the rest-calculator-angular folder and run:

npm install && npm start

Note

In the deploy/backend folder there is a ready war file that can be deployable in any Java application server; the client application can be found in the folder deploy/frontend and can be deployable in any HTTP server.

Accessing Application

Component URL
Frontend http://localhost:4500
Swagger (API Ref) http://localhost:8080/swagger-ui.html

About

Minimal RESTful Calculator


Languages

Language:JavaScript 99.2%Language:Java 0.4%Language:TypeScript 0.3%Language:HTML 0.1%Language:CSS 0.0%