All Projects → kriasoft → Graphql Starter

kriasoft / Graphql Starter

Licence: mit
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Handlebars
879 projects

Projects that are alternatives of or similar to Graphql Starter

relay-starter-kit
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, Material UI.
Stars: ✭ 3,513 (+4.03%)
Mutual labels:  postgres, relay, yarn, hackathon, material-ui, monorepo, cloudflare, starter-kit, cloudflare-workers
React Starter Kit
React Starter Kit — front-end starter kit using React, Relay, GraphQL, and JAM stack architecture
Stars: ✭ 21,060 (+523.63%)
Mutual labels:  graphql, babel, boilerplate, hackathon, material-ui, cloudflare, starter-kit, relay
Subzero Starter Kit
Starter Kit and tooling for authoring GraphQL/REST API backends with subZero
Stars: ✭ 136 (-95.97%)
Mutual labels:  api, graphql, postgresql, starter-kit, boilerplate
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-98.85%)
Mutual labels:  graphql, postgresql, postgres, starter-kit, boilerplate
React App
Create React App with server-side code support
Stars: ✭ 614 (-81.82%)
Mutual labels:  graphql, babel, boilerplate, template, relay
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-98.85%)
Mutual labels:  starter-kit, boilerplate, material-ui, template
Wertik Js
💪 A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (-98.34%)
Mutual labels:  api, graphql, starter-kit, boilerplate
Postgraphile
GraphQL is a new way of communicating with your server. It eliminates the problems of over- and under-fetching, incorporates strong data types, has built-in introspection, documentation and deprecation capabilities, and is implemented in many programming languages. This all leads to gloriously low-latency user experiences, better developer experiences, and much increased productivity. Because of all this, GraphQL is typically used as a replacement for (or companion to) RESTful API services.
Stars: ✭ 10,967 (+224.76%)
Mutual labels:  api, graphql, postgresql, postgres
Stator
Stator, your go-to template for the perfect stack. 😍🙏
Stars: ✭ 217 (-93.57%)
Mutual labels:  postgres, boilerplate, monorepo, template
Fullstack Apollo Express Postgresql Boilerplate
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Stars: ✭ 1,079 (-68.05%)
Mutual labels:  postgresql, postgres, starter-kit, boilerplate
React Firebase Starter
Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
Stars: ✭ 4,366 (+29.29%)
Mutual labels:  graphql, postgresql, boilerplate, relay
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-98.16%)
Mutual labels:  graphql, postgresql, postgres, relay
Postgrest Starter Kit
Starter Kit and tooling for authoring REST API backends with PostgREST
Stars: ✭ 657 (-80.54%)
Mutual labels:  api, postgresql, starter-kit, boilerplate
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-95.82%)
Mutual labels:  graphql, babel, starter-kit, boilerplate
Express Graphql Typescript Boilerplate
A starter kit for building amazing GraphQL API's with TypeScript and express by @w3tecch
Stars: ✭ 163 (-95.17%)
Mutual labels:  api, graphql, starter-kit, boilerplate
Next
Directus is a real-time API and App dashboard for managing SQL database content. 🐰
Stars: ✭ 111 (-96.71%)
Mutual labels:  api, graphql, postgresql
Ugin
UGin is an API boilerplate written in Go (Golang) with Gin Framework.
Stars: ✭ 110 (-96.74%)
Mutual labels:  api, postgres, boilerplate
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-91.47%)
Mutual labels:  api, graphql, boilerplate
Laravel Hackathon Starter
💻 A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.
Stars: ✭ 1,589 (-52.95%)
Mutual labels:  api, hackathon, boilerplate
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+290.58%)
Mutual labels:  api, graphql, postgresql

GraphQL
GraphQL API and Relay Starter Kit

Features

  • Monorepo project structure powered by Yarn v2 with PnP
  • GraphQL API using code-first development approach (TypeScript, GraphQL.js, Knex, PostgreSQL)
  • Stateless JWT cookie-based authentication (supporting SSR, OAuth 2.0 via Google, Facebook, etc.)
  • Database tooling — seed files, migrations, Knex.js REPL shell, etc.
  • Front-end boilerplate pre-configured with TypeScript, Webpack v5, React, Relay, and Materia UI
  • Serverless deployment — api, img → Cloud Functions, web → Cloudflare Workers
  • HTML page rendering (SSR) at CDN edge locations, all ~100 points on Lighthouse
  • Pre-configured dev, test / QA, production, and review (per PR) environments
  • Pre-configured VSCode code snippets and other VSCode settings
  • The ongoing design and development is supported by these wonderful companies:

    


This project was bootstrapped with GraphQL API Starter Kit. Be sure to join our Discord channel for assistance.

Directory Structure

├──.github — GitHub configuration including CI/CD workflows
├──.vscode — VSCode settings including code snippets, recommended extensions etc.
├──env — environment variables that are used for local development (local, test, prod)
├──db — database schema, seeds, and migrations (Cloud SQL, Knex.js)
├──api — GraphQL API and authentication (Could SQL, Cloud Functions, GraphQL.js)
├──img — dynamic image resizing (Cloud Functions, Cloud Storage)
├──webReact / Relay web application with CDN rendering (Webpack, Cloudflare Workers)
├──scripts — Automation scripts shared across the project
└── ... — add more packages such as worker, admin, mobile, etc.

Requirements

Getting Started

Just clone the repo and run yarn setup followed by yarn start:

$ git clone --origin=seed --branch=main --single-branch \
    https://github.com/kriasoft/relay-starter-kit.git example
$ cd ./example                  # Change current directory to the newly created one
$ yarn install                  # Install project dependencies
$ yarn setup                    # Configure environment variables
$ yarn db:reset                 # Create or update PostgreSQL database
$ yarn api:start                # Launch GraphQL API and authentication server
$ yarn web:start                # Launch React/Relay front-end app

The API server must become available at http://localhost:8080/api.
The web application front-end must become available at http://localhost:3000/.

References

How to Update

In the case when you kept the original Node.js Starter Kit git history, you can always pull and merge updates from the "upstream" repository back into your project by running:

$ git fetch seed                # Fetch Node.js Starter Kit (upstream) 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:

$ yarn set 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

Backers

              

How to Contribute

Anyone and everyone is welcome to contribute. Start by checking out the list of open issues marked help wanted. However, if you decide to get involved, please take a moment to review the guidelines.

License

Copyright © 2016-present Kriasoft. This source code is licensed under the MIT license found in the LICENSE file.


Made with by Konstantin Tarkus (@koistya, blog) and contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].