ClubHub
Overview
ClubHub is written with React and ES6 and uses Node to both transpile code into browser-supported Javascript and also to serve the static files. Styling is written in SCSS to be concise.
Directory Structure
bundles/ Contains the entry-point Javascript file
components/ Contains all React components
scss/ Contains style files
static/ Contains static resources, for example HTML and images
Setting Up (Mac OS X)
- Install Brew http://brew.sh/
- In Terminal run
brew install npm node brew install git- Clone the repository.
cd clubhubnpm install
Developing (Mac OS X)
- Start the React/ES6 transpilers and the SCSS compiler with
npm run watch - Run the server with
npm run server
Deploying (Mac OS X)
- Build the JavaScript and CSS with
npm run build - Output will be in
static/jsandstatic/cssrespectively.
Log in or sign up for Devpost to join the conversation.