react-express-seed

0.0.4 • Public • Published

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    # shell

Clone 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

  1. Install Node.js and MongoDB, if you haven't already.

  2. If you don't have gulp installed globally, run npm install -g gulp (may need to prefix the command with sudo).

  3. cd into the project directory.

  4. Make sure you don't have an active mongod process running locally. Run npm run db to create the database and Ctrl+C to stop it.

  5. Run npm run dev (or npm run db, gulp and npm start in three Terminal tabs) and start fooling around with the source and the webpage.

Dependents (0)

Package Sidebar

Install

npm i react-express-seed

Weekly Downloads

4

Version

0.0.4

License

none

Last publish

Collaborators

  • mitranim