PWA Expt 10
PWA Expt 10
Experiment No. 10
Theory :
GitHub Pages
Public web pages are freely hosted and easily published. Public webpages hosted
directly from your GitHub repository. Just edit, push, and your changes are live.
GitHub Pages provides the following key features:
1. Blogging with Jekyll
2. Custom URL
3. Automatic Page Generator
Pros:
1. Very familiar interface if you are already using GitHub for your projects.
2. Easy to set up. Just push your static website to the gh-pages branch and
your website is ready.
3. Supports Jekyll out of the box.
4. Supports custom domains. Just add a file called CNAME to the root of your site,
add A record in the site’s DNS configuration, and you are done.
Cons
1. The code of your website will be public, unless you pay for a private repository.
2. Currently, there is no support for HTTPS for custom domains. It’s probably coming
soon though.
3. Although Jekyll is supported, plug-in support is rather spotty
Name: Aastha Jajoo Class: D15B Roll No: 23
Firebase
The Realtime App Platform. Firebase is a cloud service designed to power real-time,
collaborative applications. Simply add the Firebase library to your application to gain
access to a shared data structure; any changes you make to that data are
automatically synchronized with the Firebase cloud and with other clients within
milliseconds.
Pros
1. Hosted by Google. Enough said.
2. Authentication, Cloud Messaging, and a whole lot of other handy services will be
available to you.
3. A real-time database will be available to you, which can store 1 GB of data.
4. You’ll also have access to a blob store, which can store another 1 GB of data.
5. Support for HTTPS. A free certificate will be provisioned for your custom domain
within 24 hours.
Cons
1. Only 10 GB of data transfer is allowed per month. But this is not really a
big problem, if you use a CDN or AMP.
Name: Aastha Jajoo Class: D15B Roll No: 23
GitHub Project:
Name: Aastha Jajoo Class: D15B Roll No: 23
Conclusion : We have deployed our Ecommerce Pwa via GitHub pages and
understood the working of Github pages.