All Projects → benawad → Create Graphql Api

benawad / Create Graphql Api

Licence: mit
Set up a Typescript GraphQL API by running one command.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Create Graphql Api

Twist V2
A book review tool for Leanpub's Markdown Book Format
Stars: ✭ 82 (-63.23%)
Mutual labels:  graphql, postgresql
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 (+4817.94%)
Mutual labels:  graphql, postgresql
Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+466.82%)
Mutual labels:  graphql, postgresql
Spring Examples
SpringBoot Examples
Stars: ✭ 67 (-69.96%)
Mutual labels:  graphql, postgresql
Subzero Starter Kit
Starter Kit and tooling for authoring GraphQL/REST API backends with subZero
Stars: ✭ 136 (-39.01%)
Mutual labels:  graphql, postgresql
Springboot Projects Fullstack
Spring Boot, JDBC, ORM, JPA, Hibernate, H2, MySQL, Oracle
Stars: ✭ 76 (-65.92%)
Mutual labels:  graphql, postgresql
Next
Directus is a real-time API and App dashboard for managing SQL database content. 🐰
Stars: ✭ 111 (-50.22%)
Mutual labels:  graphql, postgresql
K2
Koa2 API template with passport, GraphQL, flowtype, knex and more.
Stars: ✭ 44 (-80.27%)
Mutual labels:  graphql, postgresql
Giraffeql
🦒 Developer tool to visualize relational databases and export schemas for GraphQL API's.
Stars: ✭ 128 (-42.6%)
Mutual labels:  graphql, postgresql
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 (+5814.8%)
Mutual labels:  graphql, postgresql
Cynthesize Frontend
Frontend written in Angular 7 and deployed GraphQL for Cynthesize. Development build: https://cynthesize-develop.netlify.com
Stars: ✭ 65 (-70.85%)
Mutual labels:  graphql, postgresql
Knests
Full-stack boilerplate (project/hackathon starter) with Docker/NodeJS/Typescript/GraphQL/React/Material-UI
Stars: ✭ 156 (-30.04%)
Mutual labels:  graphql, postgresql
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-72.2%)
Mutual labels:  graphql, postgresql
Open Bank Mark
A bank simulation application using mainly Clojure, which can be used to end-to-end test and show some graphs.
Stars: ✭ 81 (-63.68%)
Mutual labels:  graphql, postgresql
Starter
Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
Stars: ✭ 1,082 (+385.2%)
Mutual labels:  graphql, postgresql
Serverless Postgraphql
Serverless GraphQL endpoint for PostgresSQL using AWS, serverless and PostGraphQL
Stars: ✭ 105 (-52.91%)
Mutual labels:  graphql, postgresql
Postgraphile Nest
GraphQL (PostGraphile) module for Nest framework (node.js)
Stars: ✭ 43 (-80.72%)
Mutual labels:  graphql, postgresql
Tinder Clone
Fullstack Tinder app clone made with React/Ts/Nest
Stars: ✭ 43 (-80.72%)
Mutual labels:  graphql, postgresql
Deploy Strapi On Aws
Deploying a Strapi API on AWS (EC2 & RDS & S3)
Stars: ✭ 121 (-45.74%)
Mutual labels:  graphql, postgresql
Graphql Go Example
Example GraphQL API implemented in Go and backed by Postgresql
Stars: ✭ 135 (-39.46%)
Mutual labels:  graphql, postgresql

create-graphql-api

npx create-graphql-api my-api
cd my-api
npm start

Example

Basic: https://www.youtube.com/watch?v=WhzIjYQmWvs

Auth: https://www.youtube.com/watch?v=OVdPOExxKuU

Templates

You can do the following for an auth template:

npx create-graphql-api my-api --auth

How to Deploy to Heroku

  1. Make sure you have Git setup
  2. Setup Heroku CLI: https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up
  3. Create a Procfile in the root folder of your project and put the following in it:
web: node dist/index.js
  1. In your package.json add the following script to run the TypeScript compiler before Heroku runs your project:
"heroku-postbuild": "tsc"
  1. In the root folder of your project, use the Heroku CLI to create a new project:
heroku create
  1. Add a PostgreSQL database addon
heroku addons:create heroku-postgresql
  1. Commit your code and push to Heroku
git push heroku master

Note: You'll want to look at your ormconfig.js and configure the options you want for production.

Also see this video on how you can deploy to Digital Ocean with Dokku: https://www.youtube.com/watch?v=AdHwBKKQHZ4

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].