Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Opinionated SaaS quick-start with pre-built user account and organization system for full-stack apps in React, Node.js, GraphQL and PostgreSQL.
Graphile Starter is an open-source, MIT-licensed full-stack boilerplate that gives you a pre-built user account and organization system for React, Node.js, GraphQL, and PostgreSQL applications, managing everything from database migrations to background jobs.
Graphile Starter is an opinionated quick-start project for full-stack application development in React, Node.js, GraphQL and PostgreSQL. It includes a complete user registration system, organizations (teams or companies), session management, a job queue, tests at both granular and end-to-end levels, and a significant amount of pre-configured tooling. The project is maintained by the Graphile community and released under the MIT license, and it ships with deployment instructions for Heroku and Docker.
Graphile Starter ships with a wide range of pre-configured functionality covering the full stack, from authentication to background jobs to deployment. The main features are:
migrations/current.sql and automatically applies changes during development, with the ability to commit migrations for production.heroku-setup script automates Heroku deployment with Amazon RDS and Redis.Graphile Starter suits anyone who wants to start a full-stack web application without building account and organization boilerplate from scratch. The intended audiences include:
Graphile Starter's pre-built account system and job queue make it a fit for a variety of products. Common uses include:
Graphile Starter is started with yarn start, which concurrently launches several development tools. The main command watches the database schema, compiles server TypeScript, runs the Node server, runs graphile-worker, generates React hooks, and runs tests in watch mode. The application is accessible at http://localhost:5678.
Graphile Starter is free and open source under the MIT license. The project relies on donations and sponsorship to continue development, and a list of sponsors is included in the README.
No. The README explicitly states it is NOT for beginners and recommends being comfortable with Node.js, Express, PostgreSQL, GraphQL, PostGraphile, Graphile Worker, Graphile Migrate, TypeScript, React, Apollo Client, GraphQL Code Generator, ESLint, Prettier, Jest, and Cypress before using it as a base.
Local mode requires Node.js v16+ and PostgreSQL v10+ with pg_dump available. Alternatively, Docker mode uses docker and docker-compose, and you should allocate Docker at least 4GB of RAM.
Run yarn to install dependencies, then yarn setup to create a .env file. For development, run yarn start (or yarn docker start in Docker mode) and open http://localhost:5678.
Yes. The repository includes a heroku-setup script that creates the Heroku app, adds a Redis extension, creates database roles and passwords, sets config variables, and pushes your initial build. It also documents configuring Amazon SES for email and GitHub OAuth for social login.
Yes. It uses Graphile Worker to execute background tasks such as sending emails, and this worker process is started automatically as part of yarn start.
