Sam Dickerman
10/18/2017, 9:38 PMserver
graphcool init server
and then:
graphcool init creates the local service structure inside the specified server directory:
.
└── server
├── graphcool.yml
├── types.graphql
├── .graphcoolrc
└── src
├── hello.graphql
└── hello.js
However - that process isn't creating any files in my project directory (the directory I'm in using terminal) I do get the project.graphcool file:
✔️ Created project Slowwarrior Voice (ID: xxxxxxx) successfully.
Here is what you can do next:
1) Open project.graphcool in your editor to update your schema.
You can push your changes using graphcool push
.
2) Use one of the following endpoints to connect to your GraphQL API:
Simple API: https://api.graph.cool/simple/v1/xx
Relay API: https://api.graph.cool/relay/v1/xxx
3) Edit your project using the Console. Run graphcool console
to open it.