- This project requires node version 12.20.1
- After pulling this repo, navigate to the /server folder and run
npm i
in the terminal to build your node modules. - Run
touch .env
to create your enviroment file. - Add the following to the new .env file you just created:
PORT=4000
SQL_CONNECTION_URL=postgres://USER@HOST:PORT/rigex-project
- Replace the all caps words with your credentials. The default postgres port is 5432.
- Run the command
npm run start-dev
and go to http://localhost:4000/graphql
- Create a .env file in '/rigex-front-end'
- Add REACT_APP_GOOGLE_MAPS_KEY=API-KEY-HERE
- contact McRae for API key
- Restart dev server