Skip to content

The Football Database is a web application created using Node.js/Express. Users can search for any football team or player and a fetch request is made to The Sports DB API to give back information. An authentication system was also created using Passport.js which allows users to log in and add favourites which appear on the home page.

Notifications You must be signed in to change notification settings

Ethan-Greaves/The-Football-Database

Repository files navigation

⚽ The Football Database ⚽



Overview 📖

The Football Database is a web application created using Node.js/Express. Users can search for any football team or player and a fetch request is made to The Sports DB API to give back information. An authentication system was also created with the help of Passport.js which allows users to login and add favourites which appears on the home page.

Technologies used 👨‍💻

  • HTML
  • CSS/SCSS
  • Bootstrap 4
  • JavaScript (ES6)
  • Embedded JavaScript (EJS)
  • Node.js
  • Express
  • MongoDB
  • Mongoose
  • Fetch
  • Heroku

Visuals 🎬

Add any team or player to your favourites:

Register, login and logout:

Search across the app to find anything or anyone:

Setup ⚙️

Installation

Both Node.js and MongoDB are required for the application to run so make sure you have these installed.

Versions

  • Node.js - v12.18.0 or higher
  • MongoDB - v4.4.1 or higher

Clone the repository to your local system then in the terminal at the root folder run:

npm install

to acquire the node_Modules and dependencies for this project.

Usage

If Node.js and MongoDB are installed locally...

In the terminal go to the drive where MongoDB is installed and run this command

mongod

then naviagte back to the project root folder and run:

node app.js

The Express server should then start on port 3000 and the website can be viewed on your LocalHost.

About

The Football Database is a web application created using Node.js/Express. Users can search for any football team or player and a fetch request is made to The Sports DB API to give back information. An authentication system was also created using Passport.js which allows users to log in and add favourites which appear on the home page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published