项目作者: Namanbhatia7

项目描述 :
Latest football Score Updates, Competitions and Player Stats, League Standings and much more.
高级语言: HTML
项目地址: git://github.com/Namanbhatia7/False9.git
创建时间: 2020-08-21T19:10:11Z
项目社区:https://github.com/Namanbhatia7/False9

开源协议:

下载


False9 (WORK IN PROGRESS)

About

Latest football Score Updates, Competitions and Player Stats, League Standings and much more.False9 fetches data from Football-data.org API

How to Run

  • You need to have a node.js installed in your system to run this project. Follow this link to download node.js
    After installing node.js, run following commands -

    1. git clone https://github.com/Namanbhatia7/False9

    and then

    1. cd False9
  • Now terminal will be inside False9 directory. Run the following commands to install prerequisites:

    1. npm install
  • After succesfully installing required modules in above command, run

    1. node app.js
  • Now open your web browser and type http://localhost:3000/

How to get API key and run it

  • Before you run the server, it’s important you get your API key. To do that, go to Football-data.org and get your free API key.
  • Now create a file named .env in your folder. Inside the file, insert the following code
  1. API_KEY = your API key

Doing this will fetch you all the data from the source and you’ll be able to explore the full functionality.