ISTE 438 Project 1 - Search Engine

About

This project is for class ISTE 438 and is designed to be a basic search engine that searches a MongoDB dataset.

Installation

DO NOT INSTALL IN A SHARED FOLDER

First you will need to clone the git repo on your computer

git clone https://github.com/Awmusic12635/ISTE-438-Project1.git

From there you need to take the .env.example file and rename it to .env . Fill in the 3 fields with the database host, db name and collection name.(some recommendations are included)

Additionally, the project also uses node.js in order to run, please make sure that is installed.

In the project directory (where the app.js file is) run:

npm install

This will install all required module dependencies.

Running

Once all the dependencies are installed you can run:

node app.js

This will start the server. The server is running when "App listening on port 3000" is logged to the terminal.

Once the server is up the app can be accessed by visiting the host on port 3000 (localhost:3000).