Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/resir014/wwwidchallenge-2018-feb

WWWID reader as a Progressive Web App. Part of #WWWIDChallenge for February 2018.
https://github.com/resir014/wwwidchallenge-2018-feb

wwwid wwwidchallenge

Last synced: about 1 month ago
JSON representation

WWWID reader as a Progressive Web App. Part of #WWWIDChallenge for February 2018.

Awesome Lists containing this project

README

        

# wwwidchallenge-2018-feb

> WWWID reader as a Progressive Web App. Part of [#WWWIDChallenge](https://medium.com/wwwid/tantangan-web-developer-untuk-membuat-aplikasi-web-bisa-digunakan-kurang-dari-5-detik-70bb7431741d) for February 2018.

This project is bootstrapped using [gatsby-starter-typescript-plus](https://github.com/resir014/gatsby-starter-typescript-plus).

---

Hey there!

This website was created by [@resir014](https://github.com/resir014) as part of the [#WWWIDChallenge](https://medium.com/wwwid/tantangan-web-developer-untuk-membuat-aplikasi-web-bisa-digunakan-kurang-dari-5-detik-70bb7431741d) for February 2018.

The challenge was to create a Progressive Web App (PWA) that can load in less than 5 seconds. I was free to choose any framework/library as long as it's usable via all modern browsers. The website consists of a homepage with latest feeds, an article view, and category filters.

I decided to go the [JAMstack](https://jamstack.org/) path using [Gatsby.js](https://www.gatsbyjs.org/). The basic PWA setup for Gatsby is to use `gatsby-plugin-manifest` and `gatsby-plugin-offline`, and further optimizations are done during the build process, such as image processing with Sharp, complete with lazyloading of image thumbnails with `gatsby-image`.

I also use [TypeScript](https://www.typescriptlang.org/), because it's awesome.

## Features

* Basic Gatsby.js + TypeScript setup
* Progressive Web App
* Statically generated
* Image processing with Sharp
* Styling with `styled-components`.

## Developing

A nodejs >= 6.0.0 setup with [yarn](https://yarnpkg.com/) is recommended.

``` bash
# install dependencies
yarn

# ...or if you prefer npm
npm install

# serve with hot reload at localhost:8000
yarn start

# build for production
yarn build
```

## Credits

Built with [Gatsby](https://www.gatsbyjs.org/) - the blazing-fast static site generator for [React](https://facebook.github.io/react/).