Build apps quickly using React, Bootstrap, Parse / Backbone and Browserify.
It's a simple app that lets you create Wiki-like pages using markdown and URL routing. It's easy to delete this functionality and start building your app.
Make sure you have npm.
- Clone this repo
npm install
- Edit
src/main.js
to include your Parse API key. npm start
- Open
index.html
in your favorite browser - Start hacking!
src/main.js
- your routes and Parse API keysrc/layout
- general page layout componentssrc/pages
- full-page componentssrc/data
- Parse / Backbone Models and Collectionssrc/components
- all other UI components
src/framework
- the ReactHack codeindex.html
- the entry point to your app, just references the static resources you needbuild/main.js
- autogenerated bynpm start
That means you didn't run npm install
or npm start
.
That means you didn't edit src/main.js
to include your Parse JavaScript API key.
On Windows npm
sometimes does not work correctly. Make sure you install git
and use the git bash
shell to run the commands. If npm start
still doesn't work, try running node_modules/.bin/watchify -t staticify -t reactify -o build/main.js src/main.js
manually from bash
.
Yes. Within your CSS files you can also require()
images like so:
body {
background-image: require('./myImage.jpg');
}
- Multiple browserify bundles
- Full-page rendering
- Server rendering (sort of works today)
- Testing integration
- All Bootstrap-specific React components (specifically grids)