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.
- Install Node.js(http://nodejs.org) and Docker for windows or Docker for Mac.
- If you're using windows 7 install Docker Toolbox: https://github.com/docker/toolbox/releases.
- Open a command prompt.
- Run
docker build -t footie-lights .
to build images. - Run the
docker run -it -p 4500:4500 footie-lights
to run the container. - Navigate to http://localhost:4500 in your browser.
- 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.
- Install Node.js(http://nodejs.org).
- Run
npm install
to install app dependencies. - Run
npm start
to start the server. - Navigate to http://localhost:4500 in your browser.
- Run the application on heroku's webhost by navigating to https://limitless-garden-71595.herokuapp.com/.
- Install Node.js(http://nodejs.org).
- Run
npm install
to install app dependencies. - Run
npm run test
to run unit tests.
- Install Node.js(http://nodejs.org) and Docker for windows or Docker for Mac.
- If you're using windows 7 install Docker Toolbox: https://github.com/docker/toolbox/releases.
- Open a command prompt.
- Run
docker build -t footie-lights-test -f DockerFile-test .
to build images. - Run the
docker run --rm footie-lights-test
to run the container.