GithubHelp home page GithubHelp logo

zhangyanling77 / graphql-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from naihe138/graphql-demo

0.0 1.0 0.0 5.64 MB

🎉Koa + GraphQL + Apollo-Server demo

JavaScript 79.19% HTML 15.08% CSS 5.73%

graphql-demo's Introduction

这是利用Koa + GraphQL + Apollo-Server实现的,学生信息增、删、改、查的栗子

本栗子将搭配Koa实现一个GraphQL查询,逐步从简单Kao服务、到Mongodb的数据插入查询、再到GraphQL的使用,让大家快速看到:

  • 搭建Koa搭建一个后台项目
  • 后台路由简单处理方式
  • 利用Mongoose简单操作Mongodb的增、删、改、查
  • 掌握Apollo-Server简单操作数据的增、删、改、查
  • 掌握GraphQL的入门姿势

项目视图

  • 查询

  • 新增学生

  • 新增课程

  • FE-demo

使用方法

1、git clone https://github.com/naihe138/GraphQL-demo.git

2、npm install or yarn

3、npm start

graphql-demo's People

Contributors

naihe138 avatar

Watchers

James Cloos 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.