Requirements:
  1. 1. Mac OS X, Windows, or Linux
  2. 2. Yarn package + Node.js v6.5 or newer
  3. 3. Running our Node.js backend (Required only in full stack version)
Quick Start:
  1. 1. Run yarn install
  2. 2. Run yarn start
  1. 3. Set up postgres environment
    • ##### Adjust local db:

    • ###### 1. Install postgres:

    • - MacOS:
      - `brew install postgres`

    • - Ubuntu:
      - `sudo apt update`
      - `sudo apt install postgresql postgresql-contrib`

    • ###### 2. Create db and admin user:
      - Before run and test connection, make sure you have created a database as described in the above configuration. You can use the `psql` command to create a user and database.
      - `psql -U postgres`


    • - Type this command to creating a new database.
      - `postgres=> CREATE DATABASE development OWNER postgres;`
      - `postgres=> \q`

    • ##### Setup database tables:
      - `yarn reset`

    • ##### Start development build:
      - `yarn start:dev`

    • ##### Start production build:
      - `yarn start`

  2. 4. Open backend code run yarn install
  3. 5. Run yarn start:dev
There are also other npm tasks:
  • yarn build: if you need just to build the app (without running a dev server)
  • yarn lint: to check the source code for syntax errors and potential issues

For more instruction please refer to Sing App React readme.md.