Giter Site home page Giter Site logo

5achinjani / graphql-prisma Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 1.0 126 KB

Project setup/structure for getting started with GraphQL + Prisma + Now.sh/elasticbeanstalk and Backpack

JavaScript 88.42% HTML 11.58%
graphql prisma backpack elasticbeanstalk now graphql-shield

graphql-prisma's Introduction

Tools

  • graphql-yoga: ๐Ÿง˜ Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience
  • Prisma: Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)
  • Backpack: minimalistic build system for Node.js projects.
  • Now.sh v2: To host GraphQL server.
  • graphql-shield: ๐Ÿ›ก A GraphQL tool to ease the creation of permission layer.
  • aws-elasticbeanstalk: Deploy/Host your graphql server on AWS elasticbeanstalk

Other features

Prerequisite

  • Node stable version. Preferred: Use nvm: Node Version Manager.

Usage

  • create .development.env , .test.env , and .production.env file according to .development.example.env
  • yarn (npm if you want)
  • yarn dev - To start the development server with debug mode.
  • yarn dev-deploy / yarn test-deploy /yarn prod-deploy - to generate the buld and deploy prisma server and graphql server

Global CLI installation:

  • aws-cli: Required if you're using S3 to upload files.
  • aws-elasticbeanstalk: Required if you're deploying your GraphQL server on aws-elasticbeanstalk.

-Other commands

  • To generate the build
    "dev-build": "NODE_ENV=development yarn build",
    "test-build": "NODE_ENV=test yarn build",
    "prod-build": "NODE_ENV=production yarn build",
  • To deploy prisma
    "prisma-deploy-dev": "prisma deploy  --env-file .development.env",
    "prisma-deploy-test": "prisma deploy --env-file .test.env",
    "prisma-deploy-prod": "prisma deploy --env-file .production.env",

graphql-prisma's People

Contributors

5achinjani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.