react-express-seed v0.0.4
Description
Seed for a full-stack SPA webapp, showcasing ReactJS, react-router, Reflux, Record, browserify (client), Node+Express, MongoDB+Mongoose (server).
Installation
Requires the following CLI tools installed globally:
npm
gulp
mongod # MongoDB
ln # shell
mkdir # shellClone the repo, then run npm install to get the dependencies. This should also create a soft symbolic link of ./app in ./node_modules and an empty directory ./mongo-data in ./. If this fails for some reason, or if you happen to be using Windows, do it manually. See the postintall script in package.json.
Usage
Install Node.js and MongoDB, if you haven't already.
If you don't have gulp installed globally, run
npm install -g gulp(may need to prefix the command withsudo).cdinto the project directory.Make sure you don't have an active
mongodprocess running locally. Runnpm run dbto create the database and Ctrl+C to stop it.Run
npm run dev(ornpm run db,gulpandnpm startin three Terminal tabs) and start fooling around with the source and the webpage.
11 years ago