Getting Started
This project uses gulp to build the web application and host it locally on port 8000.
- Install Node.js
-
Clone the repository
$ git clone https://github.com/slkcoin/FEND-map -
Navigate to the project folder and run npm install
$> cd /path/to/your-project-folder $> npm install
This will install everything necessary to evaluate the project. If you're curious about what gets installed, check out the package.json file.
-
Run gulp from project directory
$ gulp serve Open a browser and visit localhost:8000
The Project
For this final project, I had to write Jasmine specs in order to effectively test the provided application.
A test that loops through each feed in the allFeeds object and ensures it has a URL defined and that the URL is not empty.
A test that loops through each feed in the allFeeds object and ensures it has a name defined and that the name is not empty.
A test that ensures the menu element is hidden by default.
A test that ensures the menu changes visibility when the menu icon is clicked.
A test that ensures when the loadFeed function is called and completes its work, there is at least a single .entry element within the .feed container.
A test that ensures when a new feed is loaded by the loadFeed function that the content actually changes.