Having this done will let Nate start messing around with pulling projects into a front-end and starting on the backend for galleries.
You'll need to create a new model, and once you've defined that, you'll need to expose it through the schema, which is the publicly accessible interface. As for reference materials, check out the GraphQL docs and this tutorial to get a sense of how GraphQL works. Looking at the student model that's already there will also be helpful.
I've added some tests to the test/ folder. Just change the lines that say it.skip('..') to it('..') to enable them. Make your changes until they pass, and add any new tests that are relevant.
Make projects accessible through the API.
Once this task is done, you should be able to access project data from queries like:
and
Having this done will let Nate start messing around with pulling projects into a front-end and starting on the backend for galleries.
You'll need to create a new model, and once you've defined that, you'll need to expose it through the schema, which is the publicly accessible interface. As for reference materials, check out the GraphQL docs and this tutorial to get a sense of how GraphQL works. Looking at the student model that's already there will also be helpful.
I've added some tests to the
test/
folder. Just change the lines that sayit.skip('..')
toit('..')
to enable them. Make your changes until they pass, and add any new tests that are relevant.