/spring-boot-angular-pwa-example

Spring Boot API with Angular PWA

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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 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 http://localhost:4200 to load initial data. Use Chrome Developer Tool to toggle offline in the Network tab and prove that it works offline.

Offline baby!