Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 701 Bytes

setup-guide.md

File metadata and controls

35 lines (28 loc) · 701 Bytes

Setup Guide

Steps for setting up in local development:

  1. Create a postgreSQL database with schema from ./db/schema.sql

  2. Add a .env file to the project root folder with the following information

SESSION_SECRET=[Add your secret here]
JWT_TOKEN_SECRET=[Add your secret here]
DATABASE_URL="postgresql:[Add database location here]"
HOST="localhost"
PORT="8000"
  1. Add a .env file to ./client folder with the following information
FAST_REFRESH=false
PORT="3111"
  1. At the ./client folder, run command:
npm install
  1. At the project root folder, run command:
npm install
  1. To start the program, run command at the project root folder:
npm start