๐Ÿ“ป Lumpen Radio Web 2.0 is an evolution of the mind
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Habdas e78cc04fc8
docs(readme): update links for ssl
2 years ago
docs docs(readme): internalize gif 2 years ago
src Wire up Firebase auth to Login Form and refactor component name 6 years ago
tools Update build automation scripts 6 years ago
.babelrc Update Babel and ESLint to the latest versions 6 years ago
.csscomb.json Add build, serve and sync npm scripts 6 years ago
.csslintrc Move .csscomb.json and .csslintrc to the root directory 6 years ago
.editorconfig Replace 4-spaces tabs with 2-spaces 7 years ago
.eslintrc Update npm modules; use AirBnb ESLint settings 6 years ago
.flowconfig Add Flow config file 6 years ago
.gitattributes Normalize line endings to LF on checkin and prevent conversion to CRLF 6 years ago
.gitignore Replace Gulp with custom build scripts 6 years ago
.jscsrc Use AirBnb preset in JSCS settings 6 years ago
.travis.yml Update Node.js and npm versions in package.json/engines 6 years ago
CHANGELOG.md Update build automation scripts 6 years ago
LICENSE.txt Initial commit 7 years ago
README.md docs(readme): update links for ssl 2 years ago
package.json Swap existing dialog with sexier MUI dialog and login form 6 years ago
preprocessor.js Replace Gulp with custom build scripts 6 years ago


This Project Is Deprecated

This is a spike on an isomorphic app for a talk on Isomorphic Rendering with React. Since creation there have been advances in React tooling and, as a result, I recommend checking out some of the other Awesome React Boilerplates that've popped up lately. Have fun out there!

Lumpen Radio Web 2.0

Stack Share Dependency Status devDependency Status

The new Lumpen Radio is an evolution of the mind.




Directory Layout

โ”œโ”€โ”€ /build/                     # The folder for compiled output
โ”œโ”€โ”€ /docs/                      # Documentation files for the project
โ”œโ”€โ”€ /node_modules/              # 3rd-party libraries and utilities
โ”œโ”€โ”€ /src/                       # The source code of the application
โ”‚   โ”œโ”€โ”€ /actions/               # Action creators that allow to trigger a dispatch to stores
โ”‚   โ”œโ”€โ”€ /api/                   # REST API / Relay endpoints
โ”‚   โ”œโ”€โ”€ /components/            # React components
โ”‚   โ”œโ”€โ”€ /constants/             # Constants (action types etc.)
โ”‚   โ”œโ”€โ”€ /content/               # Static content (plain HTML or Markdown, Jade, you name it)
โ”‚   โ”œโ”€โ”€ /core/                  # Core components (Flux dispatcher, base classes, utilities)
โ”‚   โ”œโ”€โ”€ /decorators/            # Higher-order React components
โ”‚   โ”œโ”€โ”€ /public/                # Static files which are copied into the /build/public folder
โ”‚   โ”œโ”€โ”€ /stores/                # Stores contain the application state and logic
โ”‚   โ”œโ”€โ”€ /utils/                 # Utility classes and functions
โ”‚   โ”œโ”€โ”€ /app.js                 # Client-side startup script
โ”‚   โ”œโ”€โ”€ /config.js              # Global application settings
โ”‚   โ”œโ”€โ”€ /routes.js              # Universal (isomorphic) application routes
โ”‚   โ””โ”€โ”€ /server.js              # Server-side startup script
โ”œโ”€โ”€ /tools/                     # Build automation scripts and utilities
โ”‚   โ”œโ”€โ”€ /lib/                   # Library for utility snippets
โ”‚   โ”œโ”€โ”€ /build.js               # Builds the project from source to output (build) folder
โ”‚   โ”œโ”€โ”€ /bundle.js              # Bundles the web resources into package(s) through Webpack
โ”‚   โ”œโ”€โ”€ /clean.js               # Cleans up the output (build) folder
โ”‚   โ”œโ”€โ”€ /config.js              # Webpack configuration for application bundles
โ”‚   โ”œโ”€โ”€ /copy.js                # Copies static files to output (build) folder
โ”‚   โ”œโ”€โ”€ /deploy.js              # Deploys your web application
โ”‚   โ”œโ”€โ”€ /serve.js               # Launches the Node.js/Express web server
โ”‚   โ””โ”€โ”€ /start.js               # Launches the development web server with "live reload"
โ”‚โ”€โ”€ package.json                # The list of 3rd party libraries and utilities
โ””โ”€โ”€ preprocessor.js             # ES6 transpiler settings for Jest

Getting Started

Just clone the repo and start hacking:

$ git clone https://github.com/jhabdas/lumpenradio-com.git
$ cd lumpenradio-com
$ npm install                   # Install Node.js components listed in ./package.json
$ npm start                     # Compile and launch

How to Build

$ npm run build                 # or, `npm run build -- --release`

By default, it builds in debug mode. If you need to build in release mode, just add a -- --release flag. This will optimize the output bundle for production.

How to Run

$ npm start                     # or, `npm start -- --release`

This will start a light-weight development server with "live reload" and synchronized browsing across multiple devices and browsers.

How to Deploy

$ npm run deploy                # or, `npm run deploy -- --production`

For more information see tools/deploy.js.

How to Update

You can always fetch and merge recent changes from this repo back into your own project:

$ git checkout master
$ git fetch react-starter-kit
$ git merge react-starter-kit/master
$ npm install

How to Test

Run unit tests powered by Jest with the following npm command:

$ npm test

Test any javascript module by creating a __tests__/ directory where the file is. Append -test.js to the filename and Jest will do the rest.