Git Product home page Git Product logo

mgt656-spring-2015-project's Introduction

MGT 645 Project

This is the starter project for MGT 645. You'll fork this code in order to get started with your project.

Getting started

For the following instructions, we assume that you are logged into the virtual machine you are using for MGT 645.

To clone the repository, issue you'll use the following git command.

git clone https://github.com/yale-mgt-656/mgt656-spring-2015-project.git

Then, you can do

cd mgt656-project

Then, you'll need to install the dependencies

npm install

And, finally, you can run the code

./node_modules/.bin/gulp

That will run the nodemon program, which is a nice way of running node and then restarting it when your files change. Every time your files change, it will also run http://www.jshint.com/docs/ to check your JavaScript code for bad practices.

Test your code

Type the following command in order to run the BDD tests.

./node_modules/.bin/mocha

That will run all the tests in test/tests.js.

What we're using

This application relies on a number of open source projects. Obviously, it is a node.js application. We are using the following components, which are built for node applications and written by people that have made them open source.

  • express.js: Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
  • nunjucks: A templating language for JavaScript. This allows us to say there is a certain default page and every other page should like just like it, maybe changing just small parts.
  • morgan: HTTP request logger middleware for node.js, written by the people who write Express. This allows us to print pretty logging statements while the application is handling requests.
  • validator: A library of string validators and sanitizers. This helps us ensure that parameters sent to our application by users are valid.
  • body-parser: Node.js body parsing middleware by the people who write Express.

mgt656-spring-2015-project's People

Contributors

kljensen avatar xavid avatar ozhao00 avatar dhatch avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.