clone repo
run npm install
run npm run seed to seed the db with dev records
install nodemon globally via npm install nodemon -g
start dev server via nodemon app
local GraphiQL:
http://localhost:4000/graphql
sample query:
{
books {
name
author {
name
}
}
}
local client:
http://localhost:3000/
cd into /server and run nodemon app
cd into /client and run npm run start
- Install Docker
- If you're using a mac you can download Docker here.
- Open the Docker app
- make sure Docker is running.
- cd into root directory
- Run
make buildto build the Docker containers - Run
make startor justmaketo run the app locally. - Visit
http://localhost:3000/