Load free user management application. Features include viewing the list of all users, profiles of each user, and the ability to add & edit users
- HTML/CSS (No template)
- AngularJS
- NPM for dependency management
- Grunt for testing & build
- MongoDB for user data model
- Karma/Protractor/Jasmine testing tools (Unit & E2E)
-
Globally Install Node.js(with npm) & Grunt task runner
-
Download MongoDB
-
Clone API Project
-
Clone This UXonboarding repository
-
In a terminal window, run
mongod
to start the local db -
In a new terminal window, run
node index
within the API project directory (from step 3) -
Install dependencies from a terminal window with
npm install
within the UXonboarding project directory -
Finally, run
grunt
within the UXonboarding project directory -
A live demo should open in your browser
-
NOTE: The users list will be blank until you add a user
-
From the UXonboarding project root folder, run
node_modules/.bin/karma start karma.conf.js
in a terminal window -
View Passed Tests
- You will first need to install java jdk & selenium standalone server in order to run the webdriver-manager, which is needed to run the protractor E2E tests
- For Selenium, Run
node_modules/.bin/webdriver-manager update --standalone
- Java JDK
- Then start up the webdriver-manager with
node_modules/.bin/webdriver-manager start
-
In a separate terminal window, run
node_modules/.bin/protractor test/client/protractor.conf.js
within the UXonboarding project root folder -
View E2E tests run & pass