handleror / agilemoviedb

AgileMovieDB: A sample app for a MEAN world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AgileMovieDB: One MEAN Application

This is a sample learning application to demonstrate the capabilities of the MEAN (Mongo, Express, AngularJS, Node.js) stack of web application development.

Install Required Software

  1. Node.js (for *nix systems, don't forget to install npm)
  2. MongoDB

Suggested Development Tools

  1. WebStorm -- also install the Mongo Plugin
  2. MongoVue -- for Windows systems -- in lieu of WebStorm's Mongo plugin, use this to browse your local Mongo instance

Prerequisite Steps

  1. Clone repo
  2. In a command line run sudo npm install -g bower grunt-cli karma (*nix systems) or npm npm install -g bower grunt-cli karma
  3. Go to /Server in a command line and run sudo npm install (*nix systems) or npm install (Windows systems)
  4. Go to /Server/seeds. Run /usr/bin/node seed.js (*nix systems) or node seed.js (Windows systems)
  5. Go to /Web in a command line and run sudo npm install (*nix systems) or npm install (Windows systems)

Running the Application

  1. Go to /Server in a command line and run sails lift
  2. Go to /Web in a command line and run grunt server
  3. Browse to http://localhost:3445 for the Web UI
  4. Browse to http://localhost:1337 for the API

Credits

  • NGBP: A boilerplate project for AngularJS encompassing best patterns and practices, directory structure, and automated build using Grunt
  • Sails.js: An MVC framework based on Node.js
  • StartBootstrap Stylish Portfolio Template: Making us developers feel like UI/UX people

About

AgileMovieDB: A sample app for a MEAN world