Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create seed script to populate the database #152

Open
wdoug opened this issue Feb 26, 2018 · 3 comments
Open

Create seed script to populate the database #152

wdoug opened this issue Feb 26, 2018 · 3 comments
Assignees

Comments

@wdoug
Copy link
Member

wdoug commented Feb 26, 2018

As a new developer, I would like to have some seed data available in the database so I can work with different data without having to create it all myself

@ghost ghost self-assigned this Mar 2, 2018
@wdoug wdoug added in progress and removed ready labels Mar 6, 2018
@ghost
Copy link

ghost commented Mar 16, 2018

Update on the issue! I'm looking into using graphql-tools to create what they call a mock schema. I'm running into trouble with how our schema is defined. In most of the mock examples it's defined in a Js file but In our case its defined in a graphql file.

Any suggestions or help is very welcome.

Other avenues i've explored to solve this issue: graphql-faker, and setting up a separate graphcool endpoint with fake data.

@ghost ghost unassigned ghost Apr 16, 2018
@andymond andymond self-assigned this Jun 26, 2018
@cvanem cvanem closed this as completed Nov 14, 2018
@cvanem cvanem reopened this Nov 14, 2018
@wdoug
Copy link
Member Author

wdoug commented Nov 15, 2018

@andymond what is the status of this work?

@wdoug
Copy link
Member Author

wdoug commented Nov 15, 2018

It would be really nice if we could use something like the seed script setting that prisma supports. This is making me think it would be worth investigating migrating the backend to prisma again (see card #274)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants