Skip to content

edisonneza/react-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

mobile version