All Projects β†’ GordyD β†’ 3ree

GordyD / 3ree

Licence: mit
An example universal JS application written with the 3REE stack, React + Redux + RethinkDB + Express. A stack for building apps, front and back end, with just Javascript.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to 3ree

Express React Boilerplate
πŸš€πŸš€πŸš€ This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-96.26%)
Mutual labels:  express, universal, boilerplate
React Redux Saucepan
A minimal and universal react redux starter project. With hot reloading, linting and server-side rendering
Stars: ✭ 86 (-89.95%)
Mutual labels:  express, universal, boilerplate
Razzle Material Ui Styled Example
Razzle Material-UI example with Styled Components using Express with compression
Stars: ✭ 117 (-86.33%)
Mutual labels:  express, universal, boilerplate
Express Boilerplate
πŸš€ Starter project for a RESTful API in Node with Express & mongoose component-based
Stars: ✭ 9 (-98.95%)
Mutual labels:  express, boilerplate
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-66.36%)
Mutual labels:  express, boilerplate
Bulletproof Nodejs
Implementation of a bulletproof node.js API πŸ›‘οΈ
Stars: ✭ 4,369 (+410.4%)
Mutual labels:  express, boilerplate
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (-71.5%)
Mutual labels:  express, boilerplate
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (-55.14%)
Mutual labels:  express, boilerplate
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-57.48%)
Mutual labels:  express, boilerplate
Create Graphql
Command-line utility to build production-ready servers withΒ GraphQL.
Stars: ✭ 441 (-48.48%)
Mutual labels:  express, boilerplate
React Redux Universal Hot Example
A starter boilerplate for a universal webapp using react, redux, express and feathers
Stars: ✭ 639 (-25.35%)
Mutual labels:  universal, boilerplate
Vue Express Mongo Boilerplate
⭐ MEVN Full stack JS web app boilerplate with NodeJS, Express, Mongo and VueJS
Stars: ✭ 2,814 (+228.74%)
Mutual labels:  express, boilerplate
Hibiki
πŸ€– The best all-in-one Discord bot! Automod, fun, music, utilities, and more. Customizable, easy-to-use, and fully translatable.
Stars: ✭ 86 (-89.95%)
Mutual labels:  rethinkdb, express
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (-58.76%)
Mutual labels:  universal, boilerplate
Express Mongoose Es6 Rest Api
πŸ’₯ A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+228.39%)
Mutual labels:  express, boilerplate
Judo Heroes
A React application to showcase rendering with Universal JavaScript
Stars: ✭ 373 (-56.43%)
Mutual labels:  express, universal
Express Babel
Express starter kit with ES2017+ support, testing, linting, and code coverage
Stars: ✭ 621 (-27.45%)
Mutual labels:  express, boilerplate
Vortigern
A universal boilerplate for building web applications w/ TypeScript, React, Redux, Server Side Rendering and more.
Stars: ✭ 647 (-24.42%)
Mutual labels:  universal, boilerplate
Vue Stack
Minimalistic Boilerplate for FullStack Express and Vue.js applications
Stars: ✭ 26 (-96.96%)
Mutual labels:  express, boilerplate
Express Typescript
Express + TypeScript + Boilerplate for Web / API App
Stars: ✭ 230 (-73.13%)
Mutual labels:  express, boilerplate

3REE

Circle CI

An example universal JS application written with the 3REE stack, React + Redux + RethinkDB + Express. A stack for building apps, front and back end, with just Javascript.

This project was initially conceived to experiment with using these technologies in conjunction with one-another. I have written a blog that relates to this codebase.

Screenshot

This project is useful for:

  • seeing how to build a Universal Javascript application
  • understanding how to handle asyncronousity in Redux action creators
  • seeing how you can use Socket.io with Redux
  • building your own Redux powered application
  • seeing how you can use System.import() with React Router + Webpack2 to acheive code splitting for different routes of your application
  • forking so that you can build your own 3REE stack app!

Main Features

  • Universal (Isomorphic) Javascript Application
  • Use of Webpack 2's Code Splitting and Tree Shaking features
  • Asyncronous Redux actions example
  • Use of RethinkDB Changefeeds for realtime updates reflected in the UI

Demo

There is a demo app hosted at 3ree-demo.workshape.io. Check it out. If it is down, please email [email protected]

Setup

You will need to install RethinkDB. You can find instruction on how to do so here. Make sure you have the latest version installed.

  • Clone the repo git clone [email protected]:GordyD/3ree.git
  • Make sure you are using Node v6.0.0 (I recommend using n for Node version management)
  • Run npm install
  • If your local environment is not reflected by config/default.json, then add a file at config/local.json to provide local customisation.
  • Run npm run db-setup to set up DB

Running Dev Server

On Linux/OSX: npm start

On Windows: npm run start:win

This will start the Webpack dev server - for serving the client, as well as the server-side API.

Go to http://localhost:3001 in two separate tabs - see changes propagate in real time (Hot Module Replacement works too).

Running Production Server

You will need to roll out your own deployment script for a server, but before you can ship you will need to:

  • Build the client with npm run build:prod
  • Ensure all production npm modules are installed on the server. e.g. npm install --prod
  • Rsync your application to your server
  • Set up nginx or your web server of choice to map HTTP requests for your URL to http://localhost:3000
  • Run npm run start:prod to run on your server
  • Go to your URL

NOTE: Production has not been tested on Windows.

Tech Used

Tech Description
React View layer
React Router Universal routing
Redux State management
RethinkDB Persistance layer
Express Node.js server framework
Socket.io Used for realtime communication between clients and server
Webpack Module bundling + build for client
Superagent Universal http requests
Stylus Expressive, dynamic, robust CSS
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].