breanneboland / DoDidDone-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DoDidDone

DoDidDone is a React/Redux application built on MongoDB and Express. It's one of several applications designed to be a training ground for Junior Engineers at Truss.

Setup

  1. Fork and set up repo on your local machine
  2. Run npm install
  3. Install webpack and webpack-dev-server globally with: npm install -g webpack and npm install -g webpack-dev-server
  4. Add the heroku remote for production git remote add heroku https://git.heroku.com/dodonedid.git
  5. Install Mongo

Setting up MongoDB

  1. brew install mongodb
  2. sudo mkdir -p /data/db
  3. sudo chown `id -u` /data/db

Running server locally

  1. Run mongod in command line and leave it running
  2. Run npm start from the root directory of the app in another terminal tab
  3. Navigate to localhost:3000 to view your local environment

Deploying to Heroku

  1. Commit your code
  2. Deploy to Heroku with git push heroku master

Running tests

  1. Run npm test

Adding tests

  1. If adding a new feature, create a test that addresses it, even if it's only finding that a
    created by that component exists.
  2. If altering a new feature, run npm test and ensure the test that addresses said feature still works; if not, please update.
  3. Add .skip to a test or delete entirely if obsolete. Do not comment them out, per Mocha style.

License

TPLocation is available under the MIT license. See the LICENSE file for more info.

About

License:MIT License


Languages

Language:JavaScript 93.9%Language:CSS 4.4%Language:HTML 1.7%