/dataflow

Primary LanguageJavaScript

Steps to get started

  1. Clone this repo

    git clone https://github.com/mylo-james/dataflow.git && cd dataflow
  2. Create a .env file in your backend and copy over the env-example file, make sure to input secret

    PORT=5000
    DB_USERNAME=dataflow_dev
    DB_PASSWORD=password
    DB_DATABASE=dataflow
    DB_HOST=localhost
    JWT_SECRET=<<Insert Secret Here>>
    JWT_EXPIRES_IN=604800
    
  3. Create a user in psql based off of the .env, give the user CREATEDB permissions

    psql && clear
    CREATE USER dataflow_dev WITH PASSWORD 'password' CREATEDB;
    \q
  4. Split terminals to have 3 terminals

    Run in first terminal (make sure Postbird is closed)

    cd backend && npm install && npm run createDB && clear && npm start

    Run in third terminal

    cd frontend && npm install && npm start
    
  5. Go to the instructions