/taylor-quote-generator

Taylor Swift Random Quote Generator In JavaScript .

Primary LanguageJavaScriptMIT LicenseMIT

Taylor Quote Generator

Taylor

A simple web application that generates random quotes from Taylor Swift.

My Terminal

Table of Contents

Features

  • Generates random Taylor Swift quotes.
  • Responsive design for mobile and desktop.

Installation

Install dependencies: Open a terminal or command prompt in the root of the project directory, and run the following command to install the required dependencies:

npm install
  1. Start the application: After the installation is complete, run the following command in the terminal to start the application:
    npm start
    

Now the application should be up and running. You can access it through your browser at the specified URL (usually http://localhost:3000).

Usage

  • To Get Random Taylor Swift lyrics:https://taylor-swift-lyrics-eaia.onrender.com/get
  • To Get Random Taylor Swift lyrics from a specific album or song :
    • From an album : https://taylorswiftapi.onrender.com/get?album=<album>
    • From a song : https://taylorswiftapi.onrender.com/get?song=<song>
  • To Get All Taylor Swift lyrics from a specific album or song :
    • From an album : https://taylorswiftapi.onrender.com/get-all?song=<song>
    • From a song : https://taylorswiftapi.onrender.com/get-all?album=<album>

Contributing

  • visit my repo to Contributing with my API click here
  • Contribute your favourite taylor lyrics / quotes
  • Add the lyrics / quotes to taylorquotes.js
  • While adding a quote, keep album and song fields as none
  • make a pull request
  • no repetitions
  • adding endpoints / making other suggestions

License

License