GithubHelp home page GithubHelp logo

tnt10128 / quotable Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.42 MB

⭐ Full-stack web app and API that provides random inspirational quotes to the user

License: GNU Affero General Public License v3.0

JavaScript 52.58% HTML 41.66% CSS 5.76%
api express inspirational node quote random

quotable's Introduction

⭐ Quotable

Full-stack web app and API that provides random inspirational quotes to the user

GNU GPL v3 Codefactor code quality

Screenshot

Quotable screenshot

📈 Stats

  • Over 75,000 quotes
  • Over 100 genres

ℹ️ Description

Quotable is a full-stack web app, including a developer API, that provides random motivational quotes to the user. It uses Node, Express, jQuery, and Bootstrap.

🌍 API endpoints

GET /api/quotes/random - returns a random quote. genre is an optional query parameter that specifies the genre of the quote. Format:

{
    "quote": "Quote goes here",
    "author": "Author goes here",
    "genre": "Genre goes here"
}

GET /api/genres - returns the list of available quote genres. Format:

{
    "genres": [
        "example",
        "example2"
    ]
}

GET /api/quotes/count - returns the amount of genres and quotes. Format:

{
    "quotes": 75967,
    "genres": 118
}

❓ How to use

Before you begin: Make sure you have Node.js and NPM installed!

Clone the repository, open the folder with a terminal, and execute the command npm start. Navigate to localhost:3000 in your web browser to use the app. Enjoy!

🤗 Credits

Inspirational quote file from akhiltak/inspirational-quotes. Copyright (c) 2016 Akhil Tak. License
Images from Lorem Picsum

quotable's People

Contributors

tnt10128 avatar

Watchers

 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.