Fullstack Apollo Express Postgresql Boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Alternatives To Fullstack Apollo Express Postgresql Boilerplate
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Parse Server20,4041,14097a day ago315July 30, 2023455apache-2.0JavaScript
Parse Server for Node.js / Express
13 hours ago68otherTypeScript
🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
a month ago44February 07, 201849apache-2.0TypeScript
A microservice development architecture based on nest.js. —— 基于 Nest.js 的微服务开发架构。
Graphjin2,7272a month ago516June 03, 202328apache-2.0Go
GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks
Evershop2,00842 days ago12August 16, 202335gpl-3.0JavaScript
🛍️ NodeJS E-commerce Platform
Practica1,148325 days ago4August 31, 202277mitTypeScript
Node.js solution starter that is production-ready, packed with ✅ best practices and built with simplicity in mind
Fullstack Apollo Express Postgresql Boilerplate976
3 years ago38mitJavaScript
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Youtubeclone Backend602
a year ago8mitJavaScript
Youtube Clone Backend (Express + Sequelize)
Typeorm Express Typescript286
a year agomitTypeScript
💊 Minimal Express RESTful API boilerplate. Spin it up with single command. TypeScript, TypeORM, Postgres and Docker with focus on best practices and painless developer experience.
Express Api Es6 Starter286
2 days ago4mitJavaScript
Build APIs with Express.js in no time using ES6/ES7/ESNext goodness.
Alternatives To Fullstack Apollo Express Postgresql Boilerplate
Select To Compare

Alternative Project Comparisons


Build Status Slack Greenkeeper badge

A full-fledged Apollo Server with Apollo Client starter project with React and Express. Read more about it in this tutorial to build it yourself.

Family of universal fullstack repositories:

Server Applications:

Client Applications:

Features of Client + Server

  • React (create-react-app) with Apollo Client
    • Queries, Mutations, Subscriptions
  • Node.js with Express and Apollo Server
    • cursor-based Pagination
  • PostgreSQL Database with Sequelize
    • entities: users, messages
  • Authentication
    • powered by JWT and local storage
    • Sign Up, Sign In, Sign Out
  • Authorization
    • protected endpoint (e.g. verify valid session)
    • protected resolvers (e.g. e.g. session-based, role-based)
    • protected routes (e.g. session-based, role-based)
  • performance optimizations
    • example of using Facebook's dataloader
  • E2E testing


  • git clone [email protected]:the-road-to-graphql/fullstack-apollo-express-postgresql-boilerplate.git
  • cd fullstack-apollo-express-postgresql-boilerplate
  • touch .env
  • npm install
  • fill out .env file (see below)
  • start PostgreSQL database
  • npm start
  • visit http://localhost:8000 for GraphQL playground

.env file

Since this boilerplate project is using PostgreSQL, you have to install it for your machine and get a database up and running. You find everything for the set up over here: Setup PostgreSQL with Sequelize in Express Tutorial. After you have created a database and a database user, you can fill out the environment variables in the server/.env file.




The SECRET is just a random string for your authentication. Keep all these information secure by adding the .env file to your .gitignore file. No third-party should have access to this information.


  • adjust test:run-server npm script with TEST_DATABASE environment variable in package.json to match your testing database name
    • to match it from package.json: createdb mytestdatabase with psql
  • one terminal: npm run test:run-server
  • second terminal: npm run test:execute-test

Want to learn more about React + GraphQL + Apollo?

Popular Postgresql Projects
Popular Express Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Full Stack
Starter Kit
Apollo Client
Postgresql Database
Apollo Server