ReactPWA

ReactPWA

  • Docs
  • Features
  • Blog
  • Examples
  • Help

›Getting Started

Getting Started

  • Initial setup
  • PawJS Configuration
  • Web App manifest

Guide

  • External resources
  • Internal APIs
  • Environment Variables

Routing

  • Add new route
  • Async routing
  • Nested routes

Plugins

  • Redux
  • Image Optimization
  • Sass
  • LESS

Deployments

  • Heroku
  • Amazon EC2
  • Digital Ocean
Edit

Initial setup

Requirements

  • Mac OS X, Windows, or Linux
  • NPM package + Node.js v8 or newer
  • Text editor or IDE pre-configured with React/JSX/ESlint

Quick Start

  1. Clone the latest repository:

    $ git clone https://github.com/Atyantik/react-pwa.git
    $ cd react-pwa
    
  2. Run npm install to install dependencies
    This will install both run-time project dependencies and developer tools listed in package.json file.

  3. Run the project using npm start.
    After this step you can access the local web app at http://localhost:3003

  4. To build the project run npm run build.
    This command will build the app from the source files (/src) into the output /dist folder.

Directory Structure

project-root
      |-- /dist/                        # The folder for compiled output
      |-- /node_modules/                # 3rd-party libraries and utilities
      |-- /src/                         # The source code of the application
      |    |-- /routes.js               # Page/screen components along with the routing information
      |    |-- /client.js               # Client-side startup script
      |    |-- /server.js               # Server-side startup script
      |    |__ /webpack.js              # Extending the compilation properties of pawjs
      |-- package.json                  # The list of 3rd party libraries and utilities
      |__ pawconfig.json                # Config file for PawJS
PawJS Configuration →
  • Requirements
  • Quick Start
  • Directory Structure
ReactPWA
Docs
Getting StartedPluginsExamples
Community
User ShowcaseProject Chat
More
BlogGitHubStar

Giants supporting us

Atyantik Technologies Private LimitedDigitalOceanEventerpriseBrowserStackNavicat
 
Support ReactPWA

Copyright © 2019 Atyantik Technologies Private Limited