Angular2AndJavaEE
The project serves as a starting point for people who want to use Angular and JavaEE. It is a Maven multi module project for Wildfly and Websphere Liberty. The backend is an in memory db with JPA access. If the ear is deployed on a different appserver a singleton bean is the backend and the application is readonly. The logic is written in session beans. The Rest interface is written with Jax-Rs and injects the session beans with Cdi. The Rest interface can be tested with Swagger. The frontend is written in Angular (always updated to the current version). It uses bootstrap for styling and has routing for the different pages. The pages are an overview page with a table and a detail page to show/modify the data. The data is retrieved with the new http service of Angular from the Jax-Rs backend. The languages german and english are supported and for that request rewriting is used.
Dzone Articles:
- Overview
- Backend
- Frontend1
- Frontend2
- Build
- Aot Build and Swagger
- 2 Improvements
AngularAndSpring
The project shows how to use reactive programming from frontend to backend. The backend is written with Spring Webflux and the reactive driver of MongoDb in Spring Boot. That makes a reactive stack for the rest calls possible. The project uses the in memory mogodb. That enables to just clone and start the project. The controller based on the reactive model with annotations is used for the Rest interface. The frontend is served by Spring Web and uses request rewriting. Because of that a servlet backend is needed. Spring enables the the reactive features with the async servlet api. The orderbook page and the login is protected by Spring Security. The frontend is done with Angular and its Observables that makes it reactive too. Angular Material is used as frontend library and the charts are done with ng2-charts. The data is retrieved with the new http service from the spring backend and the languages german and english are supported with request rewriting.
Dzone Articles:
- Angular and Spring Webflux
- Using Angular and Reactive Spring with Jwt Tokens
- Deployment Setup for Spring Boot Apps With MongoDB and Kubernetes
-
How to Modularize an Angular Application
ReactAndGo
The project shows how to use React in the frontend and Go/Gin/Gorm in the backend. The application provides Notifications if the german gas prices falls below a threshold in a certain area.
Blog Articles:
- Notifications from React frontend to Go/Gin/Gorm backend
- The ReactAndGo Architecture and Gorm DB access
Project Blog
The Github Projects have their own Blog. The updates and developments are published there.
Blog:
Angular2Guy Blog