Giter VIP home page Giter VIP logo

feathers-apollo's Introduction

feathers-apollo

feathers apollo integration

About

This is my first attempt at building an app with Apollo Server. This project uses Feathers to provide key features in a simple and easy to use way.

For an explanation of this repository, check out my blog post walking through the stack at docs/explanation-blog.markdown

Unique aspects of this approach for building Apollo Servers:

  1. Feathers cli tool to generate boilerplate and new services

  2. JWT based auth

  3. Permissions via feathers hooks (user can only remove and modify own posts, etc.)

  4. Consistent query syntax independent of database (I could change the database from Mongo to SQL with no change to the resolvers)

  5. Automatic REST endpoint generation (it is nice to have REST as a fallback or for public facing APIs)

  6. Express compliant (use any Express middleware without hacks)

  7. Automatic Socket.io integration (way to use websockets for real-time features before Apollo's solution is completed)

Getting Started

Getting up and running is as easy as 1, 2, 3.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/feathers-apollo; npm install
    
  3. Start your app

    npm start
    

feathers-apollo's People

Contributors

solon avatar swarthout 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.