Skip to content

davbeck/Postgraphile-todoMVC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A full-stack implementation of the TodoMVC project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.2%
  • PLpgSQL 32.3%
  • HTML 2.5%