Fullstack ToDo using PostGraphile
This is a sample project that impliments a GraphQL API for the TodoMVC project using PostGraphile. You can read more about it on my blog.
Make sure to rename both .env.example and client/.env.example to .env and fill out the Auth0 values with your account info.
You'll need to install dbmate. To create the db or run any new migrations, run dbmate up.
Make sure to also create a todo_graphile login role, with a password matching the one in your .env file.
psql -c "CREATE ROLE todo_graphile LOGIN PASSWORD 'password';"To run both the client and the server at the same time in dev mode, run yarn dev.