dataloader_tutorial
dataloader_tutorial copied to clipboard
The source for my video tutorial on the DataLoader library
Source code for Tutorial on Facebooks DataLoader
You can checkout this free tutorial at: knowthen.com/dataloader
Want to learn more about GraphQL? Checkout my course: knowthen.com/graphql
How do I set this up?
-
Create a postgres database (>= 9.5)
createdb hackerbook -
Run the following script, to create the schema and load some data. Make sure you replace dbuser and secretpassword with your credentials.
psql -f ./createdb.sql postgres://dbuser:secretpassword@localhost:5432/hackerbook -
rename
example.envto.env, then set database username and password in the.envfile -
Install dependancies
npm install -
Run server
npm start