Skip to content

GoktugYalcin/quotes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quotes-api

Quotes API with Node.js and Express.js
I got the json file, which for the quotes; from there
You can access API from here

How to use

npm install
node index.js

Where to find?

You can access the API from local, localhost:1998 or 127.0.0.1:1998

API Endpoints

localhost:1998/api/sozler - brings all quotes from the pool.
localhost:1998/api/sozler/{id} - brings the quote, which with specified id.
localhost:1998/api/rastgele - brings a random quote.
localhost:1998/api/dizi/{count} - brings random array of quotes with specified count.
localhost:1998/api/authors - brings list of authors.
localhost:1998/api/searchAuthor/'{authorName}' - brings authors* all quotes from the pool.

To-Do's

  • Deploy into Heroku
  • Create a landing page
  • Establish a Real-Time Database

    * = You can get name of the author, which you want to search; from the /api/authors

About

Quotes API with Node.js and Express.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published