Closed gibsonhan closed 6 years ago
@charlesjliu @jagzviruz , I summon thee for thou code review
How exactly do we connect it to the mongo? do we have an url for an actual db?
How exactly do we connect it to the mongo? do we have an url for an actual db?
Setting up mongo inside the docker container can be one way to go. Otherwise, you can assume the developer machine has a local instance of mongo installed. Update the README.md accordingly.
You can use a .env
file to configure these settings, and add a sample .env.sample
file.
@gibsonhan as @jagzviruz pointed out, you can spin up mongo in a docker container. it's specified in our docker-compose.yml. I think running docker-compose start mongo
should work.
Wasn't too smart on the first one. Coded without a dev server active. It builds now. Aside from that I have set Date fields in GraphQl to value of String. Will resolve this when I get the chance. Working build. Have yet to remove dummy data in graphql