GithubHelp home page GithubHelp logo

bogdanbiv / relaybootserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookarchive/relay-starter-kit

0.0 2.0 0.0 208 KB

Barebones starting point for a Relay application.

License: Other

JavaScript 93.08% HTML 6.92%

relaybootserver's Introduction

Relay Boot Server

Most React/Relay apps have similar server requirements - this is an attempt to bootstrap such a server

This kit includes an app server, a GraphQL server, and a transpiler that you can use to get started building an app with Relay. For a walkthrough, see the Relay tutorial.

Project Plan

  1. Start with Relay Starter Kit
  • npm install
  • smoke tests
  1. Verify Webpack/React Transform features
  • Simple React Component is rendered
  • JSX transform
  • Hot Module Reload
  • Red Error flasher
  • ES2015 support on the client
  1. Verify GraphQL features
  • seed database / backend/s
  • Graffiti based schema
  • extend schema with REST backend/s
  1. Change webserver to Koa, add Lusca for security
  • port middleware to use generators
  • check http2 support in NodeJS (also check Webpack for compat)
  • TLS encryption
  • Detect connection performance (server ?)
  1. Logging & monitoring
  • bunyan
  • weston
  1. Authentication & Authorization:
  1. Test suite
  • Unit test components
  • Component integration
  • Mocha, Chai, Sinon
  • WebDriver ?
  • Karma (other runners ?)
  1. Task runner
  • Gulp / Slush
  • Fly / Flightplan
  • Deployment task
  • Generate static site via React (server side) - during idle time
  • Re/Generate schema (data/schema.json) and restart server
  • Seed database
  1. Cluster support
  • Geo-optimisation ?
  • latency ?
  1. React tools
  • GraphiQL
  • Playground
  • Block editors (Structor, Kattappa, Colonel Kurtz)

License

Relay Starter Kit is BSD licensed. We also provide an additional patent grant.

1043

relaybootserver's People

Contributors

steveluscher avatar wincent avatar albertstill avatar chentsulin avatar voideanvalue avatar charlieschwabacher avatar yuzhi avatar fson avatar yungsters avatar sevki avatar kossnocorp avatar zpao avatar mhart avatar josephsavona avatar kassens avatar devknoll avatar cletusw avatar bogdanbiv avatar

Watchers

 avatar James Cloos avatar

relaybootserver's Issues

Project Plan

Project Plan (nov 2015)

  1. Start with Relay Starter Kit
    • npm install
    • smoke tests
  2. Verify Webpack/React Transform features
    • Simple React Component is rendered
    • JSX transform
    • Hot Module Reload
    • Red Error flasher
    • ES2015 support on the client
  3. Verify GraphQL features
  4. Webserver features
    • change Express to Koa, port middleware to use koa generators
    • add Lusca for security
    • port middleware to use generators
    • check http2 support in NodeJS (also check Webpack for compat)
    • TLS encryption
    • Detect connection performance (server ?)
  5. Logging & monitoring
    • bunyan
    • weston
  6. Authentication & Authorization:
  7. Test suite
    • Unit test components
    • Component integration
    • Mocha, Chai, Sinon
    • WebDriver ?
    • Karma (other runners ?)
  8. Task runner
    • Gulp / Slush
    • Fly / Flightplan
    • Deployment task
    • Generate static site via React (server side) - during idle time
    • Re/Generate schema (data/schema.json) and restart server
    • Seed database
  9. Cluster support
    • Geo-optimisation ?
    • latency ?
  10. React tools
    • GraphiQL
    • Playground
    • Block editors (Structor, Kattappa, Colonel Kurtz)

GraphQL server implementation examples

Compose schema sources

Needed to generate schemas that compose several backends. Will compose:

  • Graffiti (mongo, ?couchdb)
  • REST
  • other ORMs (SQL)

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.