All Projects → lubien → koa-react-redux-universal-boilerplate

lubien / koa-react-redux-universal-boilerplate

Licence: MIT license
[Unmaintained] A fullstack Koa + React + Redux Universal Boilerplate to speed up your development process.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to koa-react-redux-universal-boilerplate

kaonjs
Kaon.js is a react isomorphic app solution. It contains webpack build, hot reloading, code splitting and server side rendering.
Stars: ✭ 21 (-4.55%)
Mutual labels:  koa, server-side-rendering
Blog Frontend Project
Web frontend code for my blogs, develop with Vue.
Stars: ✭ 206 (+836.36%)
Mutual labels:  koa, server-side-rendering
numvalidate
Phone number validation REST API
Stars: ✭ 54 (+145.45%)
Mutual labels:  koa, server-side-rendering
ves
Vue SSR(Server Side Render) Web Framework for Egg
Stars: ✭ 23 (+4.55%)
Mutual labels:  server-side-rendering
vue-koa2-login
🍥 Vue + Koa2 实现前后端注册登录流程
Stars: ✭ 23 (+4.55%)
Mutual labels:  koa
fractal-component
A javascript library that can help you to encapsulate decoupled UI component easily
Stars: ✭ 13 (-40.91%)
Mutual labels:  server-side-rendering
react-ssr-error-boundary
No description or website provided.
Stars: ✭ 33 (+50%)
Mutual labels:  server-side-rendering
chatroom
💬chat
Stars: ✭ 56 (+154.55%)
Mutual labels:  koa
boldr
React based CMF / blogging engine using Redux, Postgres, Node, and more...
Stars: ✭ 78 (+254.55%)
Mutual labels:  server-side-rendering
md-svg-vue
Material design icons by Google for Vue.js & Nuxt.js (server side support & inline svg with path)
Stars: ✭ 14 (-36.36%)
Mutual labels:  server-side-rendering
koa-whistle
This package is no longer maintained(该模块不再维护)
Stars: ✭ 11 (-50%)
Mutual labels:  koa
koa-shopify-auth
DEPRECATED Middleware to authenticate a Koa application with Shopify
Stars: ✭ 82 (+272.73%)
Mutual labels:  koa
angular-httpclient
Angular 15 Example HttpClient
Stars: ✭ 21 (-4.55%)
Mutual labels:  server-side-rendering
docsify-ssr-demo
NOTICE: This repo is outdated and SSR is work-in-progress.
Stars: ✭ 61 (+177.27%)
Mutual labels:  server-side-rendering
nars
Server rendered React Native
Stars: ✭ 85 (+286.36%)
Mutual labels:  server-side-rendering
koa-subdomain
Simple and lightweight Koa middleware to handle multilevel and wildcard subdomains
Stars: ✭ 23 (+4.55%)
Mutual labels:  koa
WebAppReader
基于 html5 、 Vue.js 、 Koa、Node.js 以及 EJS 的手机小说阅读器。使用 node.js 模拟后台数据,无实际后台,完全的前后端分离开发。
Stars: ✭ 15 (-31.82%)
Mutual labels:  koa
universal-react-relay-starter-kit
A starter kit for React in combination with Relay including a GraphQL server, server side rendering, code splitting, i18n, SEO.
Stars: ✭ 14 (-36.36%)
Mutual labels:  server-side-rendering
prism
(No longer in development). Experimental compiler for building isomorphic web applications with web components.
Stars: ✭ 106 (+381.82%)
Mutual labels:  server-side-rendering
koa-to-serverless
只需要改一行代码就能够让你的 Koa 框架应用在 Serverless 架构环境上运行
Stars: ✭ 28 (+27.27%)
Mutual labels:  koa

Koa React Redux Universal Boilerplate

A fullstack Koa + React + Redux Universal Boilerplate to speed up your development process.

At first was just a simple boilerplate for my next projects on FreeCodeCamp, but that escalated quickly.

Features

  • Koa 2 supporting async-await with Babel.
  • Redux.
  • React.
  • React Router
  • Universal rendering.
  • Redux Devtools
  • Dirty deeds done dirt cheap.

Getting Started

Copy .env.sample to .env and edit as you need.

Development

For development, you just need MONGO_URL and GITHUB_CLIENT_(ID|SECRET) env vars.

Run npm run dev-server and npm run dev-client in separate terminals so you'll the Koa and Webpack servers.

Dev-server uses nodemon to restart the server everytime you change some server stuff. Webpack does the same on the client, so no need to F5 your life.

Now you can open http://localhost:3000/.

For a better experience, use zalmoxisus/redux-devtools-extension so you can see Redux's current state.

Production

We are using babel-node and webpack-dev-server for development, but they are a no go for production. The solution was simple: build everything. We build our server into a build/ folder and our client to public/scripts/bundle.js.

The build is made right after npm install so, let's say you use a PaaS like Heroku. After each commit the system will be rebuilt. Awesome ;)

Two important env vars you should look are BASE_URL and SUPPORT_HTTPS. BASE_URL uses the model https://example.com (no stripe at end). Why? Github auth callback needs your URL match exactly in both your server and in your app Github's config. SUPPORT_HTTPS is a bool value.

License

MIT

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