Skip to content

A website that displays highlights of football matches from a variety of leagues.

License

Notifications You must be signed in to change notification settings

Monoametsi/Footie-Lights

Repository files navigation

Footie-Lights

Welcome to Footie-Lights, an application that provides a platform for you to watch football match highlights from a variety of leagues. The application was created with technologies that included HTML, CSS, JavaScript, NodeJS, Express, and MongoDB.

The application fetches data from a third-party API called Scorebat, which provides data that consists of football match highlights and other data regarding those matches. After fetching the data, the application then persists the data to the database. The application then gets the data from the database and displays it on the browser.

Running the Application with Docker:

  1. Install Node.js(http://nodejs.org) and Docker for windows or Docker for Mac.

  2. If you're using windows 7 install Docker Toolbox: https://github.com/docker/toolbox/releases.

  3. Open a command prompt.

  4. Run docker build -t footie-lights . to build images.

  5. Run the docker run -it -p 4500:4500 footie-lights to run the container.

  6. Navigate to http://localhost:4500 in your browser.

  7. Use http://192.168.99.100:4500 if you're using Docker Toolbox. This assumes that's the IP assigned to VirtualBox - change if needed.

Running the Application Locally:

  1. Install Node.js(http://nodejs.org).

  2. Run npm install to install app dependencies.

  3. Run npm start to start the server.

  4. Navigate to http://localhost:4500 in your browser.

Running application on heroku:

Running unit tests Locally:

  1. Install Node.js(http://nodejs.org).

  2. Run npm install to install app dependencies.

  3. Run npm run test to run unit tests.

Running unit tests with Docker:

  1. Install Node.js(http://nodejs.org) and Docker for windows or Docker for Mac.

  2. If you're using windows 7 install Docker Toolbox: https://github.com/docker/toolbox/releases.

  3. Open a command prompt.

  4. Run docker build -t footie-lights-test -f DockerFile-test . to build images.

  5. Run the docker run --rm footie-lights-test to run the container.

About

A website that displays highlights of football matches from a variety of leagues.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published