Skip to content

Repository files navigation

simpler stack

simpler stack is a universal javascript full-stack framework built on the best of the latest web technologies like React, Redux, GraphQL, RethinkDB, Apollo, Express, and Webpack

The goal when creating this universal javascript stack was to greatly decrease the size of the boilerplate on a new project, but also include the best of the newest technologies available. It can be a lot to digest at first, but you'll be amazed at how simple and quick the development process is when using this stack.

simpler-stack-logos

special thanks to mattkrick for this comparison table, which is borrowed from his meatier repo

ProblemMeteor's solutionsimpler's solutionMotivation
DatabaseMongoDBRethinkDBpub/sub, nice web GUI, easy clustering
Database schemaSimple SchemaGraphQL / ApolloServerApolloServer allows us to use shorthand schema language
Client validationSimple Schemavalidator.jsextremely simple client-side validation
Database hooksCollections2GraphQLwho isn't using GraphQL anymore?
FormsAutoFormredux-formautomatic form validation, nice form state management
Client-side cacheMinimongoreduxtime travel, redo/undo, unidirectional data-flow
Socket serverDDP-serversocket.iosocket.io v1.0 is out, so that's cool
AuthenticationMeteor accountsJWTssimple and efficient
Auth-transportDDPApolloClient (via HTTP fetch)ApolloClient gives some relay-like features without all the bloat
Front-endBlazeReactReact is the future of UI development
Build systemmeteorwebpackWebpack to simplify building all the things
CSSmagically bundle & serveaphroditeinline styles, all the features of sass, works with server rendering
Optimistic UIlatency compensationApolloClientoptimistic ui with automatic rollback
TestingVelocity (or nothing at all)karma / mocha / chai / enzymeJQuery-like selectors, automatic test re-run on code change, simple assertions
LintingYour choiceeslintthe industry standard, live linting with atom plugin 'linter-eslint'
RoutingFlowRouterreact-router-reduxssr capable react router, async routes
ServerNode 0.10.41Node 5...

Installation

  • brew install rethinkdb
  • rethinkdb (in second terminal window)
  • git clone this repo
  • cd simpler-stack
  • npm install

Development

  • npm run dev (hot reloaded dev server)

Production

  • npm run build
  • npm run start

Similar Projects

Contributing

  • This project is massively outdated and could do with an overhaul, but unfortunately I am too busy with other projects at this time to update it myself. I am willing to review/accept any pull requests!

License

MIT

About

simpler stack is a universal javascript full-stack framework built on the best of the latest web technologies like React, Redux, GraphQL, RethinkDB, Apollo, Express, and Webpack

Resources

Stars

18 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages