Picland / v3-frontend

muwenzi v3: frontend including node.js server
https://sandbox.muwenzi.com/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link
nodejs photography react

Build Status License

Introduction

Earth-Front is built by ReactStack and NodeJS.

Main Tasks of Server

  1. API proxy
  2. Server Sider Render (SSR)

Main Tasks of Browser

  1. Component except common-ui ([see this repo]())
  2. State management by redux
  3. The authorization controller of frontend router

Main Requirements

Quick start

  1. ENV: development (feature and dev branch)
    # step1 start webpack server for dev
    npm run webpack
    # step2 start app server for dev
    npm run dev
    # step3 open the browser
    open http://localhost:3000
  2. ENV: sandbox (feature and dev branch)
# for devs to pre-deploy and debug locally
# step1 only need to run this command
npm run sandbox:debug
# step2 open the browser
open http://localhost:8890
  1. ENV: sandbox (release branch)

    # step1 only need to run this command
    npm run sandbox
  2. ENV: production (master branch)

    # step1 only need to run this command
    npm run prod