Skip to content

Picland/v3-frontend

Repository files navigation

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

  • react: ^16.0.0
  • node: ^8.0.0

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
  1. 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
  1. ENV: production (master branch)
# step1 only need to run this command
npm run prod

Releases

No releases published

Packages

No packages published