GithubHelp home page GithubHelp logo

graphql-server's People

Contributors

michaelsharpe avatar

Watchers

 avatar  avatar  avatar  avatar

graphql-server's Issues

Add typescript support

It would be good to go through the code base and add typescript support for more robust and secure development and engineering experience

Add support for module context modifications

A module should be able to define its own context modifications to the main Apollo context. This means that stand alone modules, such as the user auth module, can provide functions to modify the context if required.

Abstract out the server and build system

Like NextJS, our implementation should not just be a seed, but an opinionated build system. This means it can be included as a package in other projects, and enforces a certain structure to reading modules, permissions, etc.

The folder structure we be enforced by auto-loading of files in their proper places. Individual modules could also be abstracted out into their own packages, such as one for user auth, etc.

Basically, we want this to be more of a package that can be included and continually updated then a starter seed that is forked and modified.

Add lerna.js

The repo should be broken down into a number of discrete units that are their own packages using lerna.js.

There will at least be a core module, which will house the main build system and module loader.

Each connector should ideally be its own module, which currently would be redis and postgres.

We should also have a package for sample modules, including one that adds a user model with proper context modification.

Migrate to prisma 2

Switch over from prisma 1 to prisma 2. This will also require the addition of a postgres docker container for local development, and possible remote deployment depending on deployment needs.

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.