Skip to content

iamlucianojr/quotes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotes API

PHPUnit code coverage report

Installation

Use docker to install the container services.

cp .env.dist .env
docker-compose up -d

This command will install an instance of Nginx and Redis services.

Usage

You can get the postman collection using the button:

Run in Postman

There are only one endpoints in the collection:

/shout To request quotes shouted

To use you need to ask for quotes of some person:

/shout/steve-jobs?limit=2 To request two quotes from Steve Jobs

/shout/albert-einstein?limit=1 To ask for one quote from Albert Einstein

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages