Final project (weeks 11 & 12) at Makers Academy. Tasked with working on a project of our design in languages and testing frameworks of our choice.
Central throughout the project were TDD/BDD, XP values and agile practices.
Team:
As a user of the web,
So that I can find interesting webpages,
I want to be able to search with multiple words.
As a user of the web,
So that I can find interesting webpages,
I want to be able to see all the webpages with titles, keywords and descriptions which contain my search word.
- Express
- Node.js
- JavaScript
- Mocha & Chai for testing
- PostgreSQL Database
- Follow the instructions on Eureka Crawler to run a crawl
git clone
this project directorynpm install
to install dependencies from within the project rootnpm test
to run Mocha and Chai tests- Run
nodemon
to run Eureka Search Engine locally - Visit
localhost:3000
on your favourite browser and search the websites from your crawl with Eureka Crawler!
- Working in Node's asynchronous environment was challenging for the requirements of this project. We used Promises to halt execution of subsequent functions before the necessary information had been retrieved by pg promises from the PostgreSQL database.