Giter Site home page Giter Site logo

node-graphql-challenge's Introduction

Infynno NodeJS Graphql Challenge

Steps to start development

  1. Clone this repo and install packages using npm npm install or yarn yarn
  2. Run database migration using yarn db:migrate or npm run db:migrate
  3. Run database seeder using yarn db:seed or npm run db:seed
  4. Start the graphql server yarn dev or npm run dev

Note: If server doesn't restart automatically after changing any file terminate existing process and run yarn dev or npm run start again.

Information

  • We are using Prisma as our orm it's pretty easy to use check this documentation for basic crud operations.
  • We are using code-first approach for Graphql using nexus library check this documentation for more information
  • Database schema is located at /prisma/schema.prisma

Task

  1. Create mutation to create post
  2. Create mutation to update post
  3. Create mutation to delete post

Submission

After completing challenge you have to submit this to us there are few ways to do that select whichever is easier to you.

  1. Fork this repo and create a pull request
  2. Create your own public repo and upload the code

Final Step : Send email to [email protected] with title YourName - NodeJS Graphql Challenge and it should contain link to pull request or your repo

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.