Posts

Showing posts from March, 2018

PWA: Building and publishing a PWA in 15ish minutes using Angular 5 and Service Worker

Image
Introduction Here is an express start to your first PWA with service workers and a 100% score from lighthouse. I have taken it as a challenge to be able to present it to you so that you may be able to put your first pwa "hello world" app in 15ish minutes. What is PWA? Progressive web apps (PWAs) take traditional web sites/applications — with all of the advantages the web brings — and add a number of features that give them many of the user experience advantages of native apps. This set of docs tells you all you need to know. - Source: https://developer.mozilla.org/en-US/Apps/Progressive If the above definition sounds interesting, then this is to get you kickstarted with PWA using Angular 5 and inspire you to build more PWAs. End of this post you should be able to build, host and publish a PWA and get motivated to read more about it. Ever since I read about PWAs It has intrested me like crazy. Before, you get excited about PWA, please look into the supported brow

Undocumented JAVA: Web Application: Deploy to the Cloud – Part 4

Image
Introduction Well, well, well. Part 1 , Part 2 and Part 3 are out. Now we are hosting our freshly written Java Spring Boot application on Heroku Cloud. Then Move it our our Domain and now if you have noticed when we moved the application to our domain HTTPS fell apart and we are now only running the application on HTTP only. Where did the security that heroku provided go? How can we get it back? This is all that we will be seeing in this part. Recap of what we did so far In Part 1 we deployed a newly written web application to Heroku. Here is what you see in the response. $ http -v https ://hero-boot.herokuapp.com/greeting GET /greeting HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Connection: keep-alive Host: hero-boot.herokuapp.com User-Agent: HTTPie/0.9.2 HTTP/1.1 200 Connection: keep-alive Content-Type: application/json;charset=UTF-8 Date: Sun, 11 Mar 2018 01:28:53 GMT Server: Cowboy Transfer-Encoding: chunked Via: 1.1 vegur { "conten

Undocumented JAVA: Web Application: Deploy to the Cloud – Part 3

Image
Introduction Hope you have gone through the Part 1 and Part 2 of this series and now want to take your DNS to the next level. This is part we will be looking at how we will be taking or how we are going to route requests to our application via cloudflare and how cloudflare can be our DNS nameserver. I also would like to tell everyone that I am not a network specialist. I have posted the facts as I have observed them as a web application developer. If there are misleading information, please feel free to comment them out or contact me . I will do me best to fix them. Why Cloudflare? I picked cloudflare as that was the cheapest option available for me. If you wish to do more research and looking for alternatives to cloudflare and feel free to checkout below links, 1. CloudFlare Alternatives and Competitors 2. 7 Top Cloudflare Alternatives For Your Website 3. alternative for cloudflare What is Cloudflare? "Company that provides a content delivery network , DDoS mi