GithubHelp home page GithubHelp logo

miguelramosfdz / graphql-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from howtographql/graphql-js

0.0 2.0 0.0 277 KB

https://www.howtographql.com/graphql-js/1-getting-started/

JavaScript 100.00%

graphql-js's Introduction

hackernews-graphql-js

This repository contains the final project for the GraphQL.js tutorial on How to GraphQL. Note that it also serves as foundation for all frontend tutorials on the site.

Usage

1. Clone repository & install dependencies

git clone https://github.com/howtographql/graphql-js	
cd graphql-js
yarn install # or `npm install`

2. Install the Prisma CLI

yarn global add prisma

You need to setup a Prisma service. You can refer to this Quickstart to learn how.

3. Deploy Prisma and database

prisma deploy

When prompted where (i.e. to which Prisma server) you want to deploy your service, choose the Demo server which can be used for free in Prisma Cloud (it comes with a connected AWS Aurora database). If you haven't done so already, you will be asked to register with Prisma Cloud (which you can do via GitHub). For the following prompts in the terminal you can select the suggested values by hitting Enter. (If you have Docker installed, you can also choose to deploy Prisma locally by creating a new database.)

4. Start the server & open Playground

To interact with the API in a GraphQL Playground, all you need to do is execute the start script defined in package.json:

yarn start

graphql-js's People

Contributors

christiannwamba avatar craigblunden avatar eladams avatar mairatma avatar marktani avatar nikolasburk avatar recox avatar schickling avatar thibauds avatar

Watchers

 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.