GithubHelp home page GithubHelp logo

isabella232 / hoverboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from collectiveidea/hoverboard

0.0 0.0 0.0 203 KB

An opinionated react + relay + graphql boilerplate (isomorphic, passportjs, postgresql, express, etc.)

License: MIT License

JavaScript 80.51% HTML 5.17% CSS 14.32%

hoverboard's Introduction

Hoverboard

An opinionated react + relay + graphql boilerplate (isomorphic, passportjs, postgresql, express, etc.)

About

I've been a big fan and user of relay-fullstack, but it lacks a number of specific things that I use and need. So I end up spending a bunch of time tweaking it before I can really get started with it.

Hoverboard, then, is an attempt to build a boilerplate based on relay-fullstack but that contains more of what I'd typically want in any new project, like user login with passportjs and JWT, postgresql, some basic mutations, testing with Jest, and so on.

Here are some of the changes I'm making to the original boilerplate:

  • A better starter database interface that's less of a pain to extend and use.
  • A directory structure where the code is broken up into more files.
  • All the graphql queries are built on a default viewer query.

For more, see the next section.

Technologies

This project includes everything listed on the relay-fullstack page, and adds the following:

  • Authentication via passportjs (database-only, for now).
  • Postgresql, possibly with stored procedures in .sqlfiles.
  • Jest for testing, and full test coverage for what's included.
  • Breakpoint debugging with devtool that works inside Jest tests.
  • React Storybook stories for the default included components.
  • Travis CI integration

Setup

You'll need yarn installed, so if you're on OS X then brew update && brew install yarn.

Clone the repo and rename it to whatever you want, then go into the directory and yarn install.

To do

Project

  • Get js lint passing
  • Travis integration

Server

  • Get a better environment-specific stub database working
  • Mutations: CreatePost, UpdatePost, DeletePost
  • Logout
  • Start on postgresql for db with sequelize

Client

  • Post listing for user
  • Log in screen
  • Log out link
  • Forms for Post CRUD
  • Storybook tests

hoverboard's People

Contributors

jonstokes 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.