Skip to content
A full-stack implementation of the TodoMVC project.
Branch: master
Clone or download
Pull request Compare This branch is 10 commits ahead of ChrisWiles:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
db
.env.example
.gitignore
.prettierrc
README.md
auth.js
index.js
package.json
yarn.lock

README.md

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.

Usage

ENV

Make sure to rename both .env.example and client/.env.example to .env and fill out the Auth0 values with your account info.

dbmate

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';"

Starting

To run both the client and the server at the same time in dev mode, run yarn dev.

You can’t perform that action at this time.