Giter Site home page Giter Site logo

deepalithakur17 / quotier-readme-quotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pushkarydv/quotier-readme-quotes

0.0 0.0 0.0 434 KB

API for Quotes📑 in JSON and rendered SVG form - Use it anywhere on GitHub, Your Website or wherever you like✨

Home Page: https://quotier.vercel.app/quote

License: MIT License

JavaScript 100.00%

quotier-readme-quotes's Introduction

QUOTIER

quotes

API for Quotes📑 in JSON and rendered SVG form - Use it anywhere on GitHub, Your Website or wherever you like✨

How to use

In your GitHub readme

![QUOTES](https://quotier.vercel.app/quote)

In html

<img src="https://quotier.vercel.app/quote" alt="Quotes" />

Endpoints

EndPoint Returns
/ Hello Page in API
/quote A random quote in rendered SVG form
/quote?type=json Quote in json format
/all All quotes in JSON format within a single response

Themes

By deafult, when a request to the /quote endpoint is sent, it returns an svg with the dark theme. To specify a custom theme, use the theme query param. The following request returns an svg with the blue theme.

https://quotier.vercel.app/quote?theme=blue

QUOTES

Available Themes

  • dark (default)
  • light
  • blue

Contribution Guidelines

Append your quote to quote.json inside the quote/ folder and raise the PR.

{
    "quote":"Your new Quote",
    "author":"Author of your quote",
}
Run the application locally
  • Make sure you have NodeJS installed. Check it by typing this command in your terminal -
node --version
  • Fork this repository.
  • Clone this repository by running the following command in your terminal -
git clone https://github.com/pushkarydv/quotier-readme-quote
  • cd into the folder by using the following command -
cd quotier-readme-quote
  • Install the dependencies by running the following command -
npm install
  • Setting Up development Enviornment create a .env file in root folder and add the following line
NODE_ENV = development
  • To run the application, type the following command in your terminal -
npm run dev
  • Access the results produced by accessing the following URL in your browser -
localhost:3000

quotier-readme-quotes's People

Contributors

pushkarydv avatar himanshigarg08 avatar akashakara avatar kunalgupta557a avatar teyim avatar zianiimane avatar ayush2753 avatar azminawwar avatar akshayrs3 avatar rededge967 avatar furtidev avatar kunalrtu avatar honeyberman avatar pravunathsingh avatar hijalitopup avatar deepak9010 avatar bharat2002 avatar ayush-1601 avatar abdu355 avatar yashkumar-17 avatar tapish1511 avatar sriram-km avatar rahuljain2002 avatar kashak123 avatar hafeez25 avatar b-prajapati avatar therealashugarg avatar archi-jain avatar anjalikumawat2002 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.