Skip to content

An ExpressJs & Typescript API that returns a random Jane Austen quote

Notifications You must be signed in to change notification settings

CarlieHamilton/Jane-Austen-Quote-Generator-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jane Austen Quote Generator API

This API generates a random Jane Austen quote.

Deployed to: https://jane-austen-quote-api.herokuapp.com/

Routes

GET /random-quote
  • Returns a random Jane Austen quote
GET /random-quote-from-book
Content-Type: application/json
{
    "title": "Book Title Here"
}
  • Returns a random quote, given a book title in the request body.

How to use this repository

  • Clone or fork this repository to your local machine.
  • Install the dependencies with npm i -- make sure you are in the route directory.
  • To run the server in development mode, run the command npm run dev
  • You should now be able to call your server locally. The local default port used is 3000

Credits

About

An ExpressJs & Typescript API that returns a random Jane Austen quote

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published