Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork558
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, and Joy UI.
License
kriasoft/graphql-starter-kit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
High-performance GraphQL API server, database dev tools, and React front-end.
- Monorepo project structure powered byYarn withPnP.
- GraphQL API powered byGraphQL Yoga,Pothos GraphQL, andμWebSockets.
- Authentication and authorization powered byGoogle Identity Platform.
- Database tooling — seed files, migrations,Knex.js REPL shell, etc.
- Front-end boilerplate pre-configured withTypeScript,Vite,React, andJoy UI.
- Pre-configured dev, test / QA, production, and preview environments.
- Pre-configured VSCode code snippets and otherVSCode settings.
- The ongoing design and development is supported by these wonderful companies:
This project was bootstrapped withGraphQL Starter Kit.Be sure to join ourDiscord channel for assistance.
├──.github — GitHub configuration including CI/CD workflows.├──.vscode — VSCode settings including code snippets, recommended extensions etc.├──app — front-end application (Vite,Vitest,React,Joy UI).├──db — database schema, seeds, and migrations (PostgreSQL).├──infra — cloud infrastructure configuration (Terraform).├──scripts — automation scripts shared across the project.├──server — backend server (GraphQL Yoga,Pothos GraphQL).└── ... — add more packages such asworker,admin,mobile, etc.
- Node.js v20 or newer withCorepack enabled.
- Local or remote instance ofPostgreSQL.
- VS Code editor withrecommended extensions.
Justclone the repoand, install project dependencies and bootstrap the PostgreSQL database:
$ git clone https://github.com/kriasoft/graphql-starter-kit.git example$cd ./example# Change current directory to the newly created one$ corepackenable# Ensure Yarn is installed$ yarn install# Install project dependencies$ yarn db create# Create a new database if doesn't exist$ yarn db migrate --seed# Migrate and seed the database
From there on, you can launch the app by running:
$ yarn workspace server start# Or, `yarn server:start`$ yarn workspace app start# Or, `yarn app:start`
The GraphQL API server should become available athttp://localhost:8080/.
While the front-end server should be running athttp://localhost:5173/.
IMPORTANT: TapShift+Cmd+P in VSCode, run theTypeScript: Select TypeScript Version command and select the workspace version.
In the case when you kept the original GraphQL Starter Kit git history, you canalways pull and merge updates from the "seed" repository back into yourproject by running:
$ git fetch seed# Fetch GraphQL Starter Kit (seed) repository$ git checkout main# Switch to the main branch (or, master branch)$ git merge seed/main# Merge upstream/master into the local branch
In order to update Yarn and other dependencies to the latest versions, run:
$ yarnset version latest# Upgrade Yarn CLI to the latest version$ yarn upgrade-interactive# Bump Node.js dependencies using an interactive mode$ yarn install# Install the updated Node.js dependencies$ yarn dlx @yarnpkg/sdks vscode# Update VSCode settings
We welcome contributions through pull requests and issues on our GitHub repository. Feel free to also start a conversation on ourDiscord server to discuss potential contributions or seek guidance.
Copyright © 2014-present Kriasoft. This source code is licensed under the MIT license found in theLICENSE file.
About
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, and Joy UI.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.











