GOATs-of-Cricket

GOATs of Cricket 🏏

API Creation & Integration

Let’s Connect :

LinkedIn

Twitter

Installation

Open terminal and run the below caommands to install all necessary prerequisites :

Use sudo command if administrator error shows up (Assuming you have node package manager {npm} already on your machine)

If not go to Node.org to install node.js and npm

  1. Clone project using
    git clone https://github.com/AyushSahu77/GOATs-of-Cricket.git
    cd GOATs-of-Cricket
    
  2. Configure ENV & install all dependencies using
    npm init
    npm install express
    npm install nodemon
    
  3. Start the server using
    nodemon
    

    OR

    nodemon index.js
    
  4. Open browser tab and visit the localhost at the port defined in index.js line 5
    http://localhost:4000/
    
  5. Browse different routes/paths/wepages using below links
    http://localhost:4000/dhoni
    http://localhost:4000/virat
    http://localhost:4000/rohit
    http://localhost:4000/surya
    http://localhost:4000/hardik
    

Used IDE : Visual Studio 1.74.3 on MacOS Ventura 13.2

Download Visual Studio Code on your machine at VScode

Project Preview

Image (Screenshot) preview :

http://localhost:4000/

Screenshot 2023-01-29 at 9 56 39 PM

http://localhost:4000/dhoni

Screenshot 2023-01-29 at 10 11 35 PM

http://localhost:4000/virat

Screenshot 2023-01-29 at 10 11 28 PM

http://localhost:4000/rohit

Screenshot 2023-01-29 at 10 11 44 PM

http://localhost:4000/surya

Screenshot 2023-01-29 at 10 11 53 PM

http://localhost:4000/hardik

Screenshot 2023-01-29 at 10 12 03 PM