All Projects → vutran → Spa Starter Kit

vutran / Spa Starter Kit

Licence: mit
📦 Quick starter kit for booting up a NodeJS container with React, webpack, babel/ES2015, Redux, and more.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Spa Starter Kit

Tested
Angular Material in MEAN Stack Website Source
Stars: ✭ 35 (-56.79%)
Mutual labels:  webpack, babel
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-34.57%)
Mutual labels:  webpack, babel
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+1154.32%)
Mutual labels:  webpack, babel
Skyvow.github.io
🐶 My resume - 个人简历
Stars: ✭ 27 (-66.67%)
Mutual labels:  webpack, babel
Vue
Stars: ✭ 65 (-19.75%)
Mutual labels:  webpack, babel
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-60.49%)
Mutual labels:  webpack, babel
Js Toolbox
CLI tool to simplify the development of JavaScript apps/libraries with little to no configuration. (WORK IN PROGRESS/PACKAGE NOT PUBLISHED).
Stars: ✭ 53 (-34.57%)
Mutual labels:  webpack, babel
Online Bling
Stars: ✭ 9 (-88.89%)
Mutual labels:  webpack, babel
Astexplorer.app
https://astexplorer.net with ES Modules support and Hot Reloading
Stars: ✭ 65 (-19.75%)
Mutual labels:  webpack, babel
React Starter Kit
React Starter Kit - Fiercely quick front-end boilerplate and workflows, React.js, Babel, PostCSS, Webpack
Stars: ✭ 61 (-24.69%)
Mutual labels:  webpack, babel
Mostly
They mostly come at night; mostly.
Stars: ✭ 78 (-3.7%)
Mutual labels:  webpack, babel
Vue Web Extension
🛠️ A Vue CLI 3+ preset (previously a Vue CLI 2 boilerplate) for quickly starting a web extension with Vue, Babel, ESLint and more!
Stars: ✭ 1,147 (+1316.05%)
Mutual labels:  webpack, babel
That React App You Want
That react app you always wanted: [email protected], [email protected], postCSS, purifycss, dll's and code splitting examples, bregh. Highly opinionated but you better like it.
Stars: ✭ 27 (-66.67%)
Mutual labels:  webpack, babel
Budgeting
Budgeting - React + Redux + Webpack (tree shaking) Sample App
Stars: ✭ 971 (+1098.77%)
Mutual labels:  webpack, babel
Google Apps Script Template
A starting point for google apps script projects for transpilation, editing and deployment
Stars: ✭ 20 (-75.31%)
Mutual labels:  webpack, babel
React Es6 Padawan To Jedi Book
Uma introdução simples e completa para React usando ES6 e Babel.
Stars: ✭ 46 (-43.21%)
Mutual labels:  webpack, babel
Braid Design System
Themeable design system for the SEEK Group
Stars: ✭ 888 (+996.3%)
Mutual labels:  webpack, babel
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-67.9%)
Mutual labels:  webpack, babel
Vue Dropload
vue下拉加载,简单路由,模态框组件等开发
Stars: ✭ 55 (-32.1%)
Mutual labels:  webpack, babel
Starter React Flux
Generate your React PWA project with TypeScript or JavaScript
Stars: ✭ 65 (-19.75%)
Mutual labels:  webpack, babel

Single Page Application (SPA) Starter Kit (NodeJS, React, webpack, babel/ES2015, Redux, Hot Loader)

Quick starter kit for booting up a NodeJS container with React, webpack, babel/ES2015, Redux, and more.

Features

Quickstart Guide

Clone the repository.

git clone [email protected]:vutran/spa-starter-kit.git

Switch to project directory.

cd spa-starter-kit

Boot up with Docker.

docker-compose up

Open the URL in your browser.

Note: You need to add dockerhost to your /etc/hosts file and point that to your Docker machine's address.

http://dockerhost:4000

Environmental Variables

You can manage your environmental variables via the .env file.

NODE_ENV=development
DOCKER_HOST=192.168.99.100

React Components

React components should be created and placed inside of the /app/components/ directory. Below is a sample React component in ES6.

For more information, please read the React docs, or ES6.

import { Component } from 'react'

export default class MyComponent extends Component {
    render() {
        return <p>Hello, world!</p>
    }
}

Importing a React Component

To render a React component, you will need to import the component before calling React.render()

import ReactDOM from 'react-dom'
import MyComponent from './component/MyComponent'

// Render the component
ReactDOM.render(
  <MyComponent />,
  document.getElementbyId('app')
)

Redux Implementation

For more information, please refer to the demo application boilerplate.

Actions and Action Creators

You can place all your Action Types and Action Creators in the app/actions/index.js file.

Reducers

Reducer functions should be stored in the app/reducers/ directory. Once your reducer is created, you can combine them with the root reducer that is found in the app/reducers/index.js file.

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