Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/edisonneza/react-blog

PWA Blog template using ReactJs and Material UI
https://github.com/edisonneza/react-blog

blog-news material-ui offlinemode pwa react-context react-redux react-router reactjs redux

Last synced: about 5 hours ago
JSON representation

PWA Blog template using ReactJs and Material UI

Awesome Lists containing this project

README

        

# PWA Blog template using ReactJs and Material UI

This is a template PWA - Progresive Web Application that uses ReactJs and Material UI.

App works offline by saving responses in localStorage.

Currently I've done the development in a subfolder ('/pwa/'). To run in the root folder just remove the ("homepage": "/pwa/",) in the package.json file. (Also remove the "set HOST=intranet&& " from scripts->start property in package.json)

Store is now managed by React-Redux.
Store is managed using React's Context API.

Switch to "react-context" branch to see the React-Contex version

(Posts are being retrieved from a wordpress site using the WordPress REST API)

Steps to install and start playing with the project:

1. git clone https://github.com/edisonneza/react-blog.git
2. npm i
3. npm run start

To generate build files (by removing the source map files)

* npm run winBuild


or (if LINUX)

* npm run build

See GIFs below on desktop and mobile devices:

![desktop version](preview_images/tech_news_en_desktop.gif)

![mobile version](preview_images/tech_news_en_mobile.gif)