Blackbelt
Blackbelt is a web app made (read WIP) with love for Melbourne Martial Arts.
Tell me more
An online purchase-based video course system and web presence for Melbourne Martial Arts in Melbourne, Florida. Built with Angular, Express, Node, and MongoDB.
Screenshot
Contributors
- Brent Lewis @blewis954
- Cory Anderson @corya14
- Emre Ozgener @eozgener
- Jacob Jenkins @jacobj
- Max Fresonke @mfresonke
- Xixi Ruan @sissisnothere
User Stories
User stories are hosted via Trello.
Installation
Install node
and mongodb
if they are not already installed.
Make sure mongo is configured to use the default port 27017
.
Install bower
if it's not already installed:
$ npm install -g bower
Install grunt
if it's not already installed:
$ npm install -g grunt-cli
Run it!
$ npm install
$ grunt
Testing
To load test mongo fixtures:
$ grunt mongo:load
To run unit tests:
$ grunt test
To run protractor tests:
Ensure the Selenium Web Driver is up to date with npm install
.
Run all tests with db populated (recommended)
$ grunt e2e
Execute a test:
$ grunt protractor:target
Where target
is the desired test target.
Test targets:
Target | Test Material |
---|---|
example | Example testing of angularjs.org |
login | User, Instructor, and Admin login testing |
Default Accounts
These accounts are generated using grunt mongo:load
Admin | Instructor | User | |
---|---|---|---|
Username | admin | instructor | test |
Password | adminuser | instructoruser | testuser |
Facebook Info
Melbourne Martial Arts Facebook App
Facebook sign up/in won't work unless you access the functionality from http://blackbelt.jacobejenkins.com.
There are four test users, one for each combination of authorized/unauthorized and 18+/under 18. These test users can be viewed here. Message @corya14 for the passwords.