Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oktadev/spring-boot-angular-pwa-example

Spring Boot API with Angular PWA
https://github.com/oktadev/spring-boot-angular-pwa-example

angular angular-cli java offline progressive-web-app spring-boot typescript

Last synced: 1 day ago
JSON representation

Spring Boot API with Angular PWA

Awesome Lists containing this project

README

        

# Spring Boot API with Angular PWA

Example app that shows how to create a Spring Boot API and display its data with an Angular PWA that works offline.

To see how this application was created, please read [Build Your First Progressive Web Application with Angular and Spring Boot](http://developer.okta.com/blog/2017/05/09/progressive-web-applications-with-angular-and-spring-boot) on the Okta Developer blog.

To run the server, cd into the `server` folder and run `mvn spring-boot:run`.

To run the client, cd into the `client` folder and run `npm install && ng serve`. Open to load initial data. Use Chrome Developer Tool to toggle offline in the Network tab and prove that it works offline.

![Offline baby!](https://developer.okta.com/assets/blog/angular-spring-boot-pwa/offline-works-826aa2c4b48e4f89625727872ad6ea0f857a990e2cb08491b7fe8de57e1b92e0.png)