Last active
May 19, 2018 23:55
-
-
Save dupski/b9d0a97e278f7665581566e7a1fe0cc0 to your computer and use it in GitHub Desktop.
Create a GraphQl API in 5 minutes - load demo data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createDemoData } from './models'; | |
... | |
console.log(`Server is running at http://localhost:${config.port}/`); | |
createDemoData().then(() => { | |
console.log('Demo Data Loaded!') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment