Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
Spring Boot API with Angular PWA
- Host: GitHub
- URL: https://github.com/oktadev/spring-boot-angular-pwa-example
- Owner: oktadev
- License: apache-2.0
- Created: 2017-04-13T19:23:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T19:27:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T15:55:36.053Z (9 months ago)
- Topics: angular, angular-cli, java, offline, progressive-web-app, spring-boot, typescript
- Language: TypeScript
- Homepage: http://developer.okta.com/blog/2017/05/09/progressive-web-applications-with-angular-and-spring-boot
- Size: 7.49 MB
- Stars: 23
- Watchers: 7
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)