Thank you for using this api.
If you have any questions that are beyond the scope of this help file, Please feel free to create an topic via Github Discussions.
Follow the steps below to setup your api:
$ cd /path/to/your/directory
$ git clone https://github.com/shadowoff09/cinema-quotes.git
$ cd cinema-quotes
$ npm install
$ npm run dev
$ npm run start
You will need Docker installed on your machine.
After Docker is installed you should run this command
$ docker run -d -p 3001:3001 shadowoff09/cinema-quotes:latest
Or
$ docker run -d \ -p 3001:3001 \ --name cinema-quotes \ --restart=always \ shadowoff09/cinema-quotes:latest
The server should now be running and listening for requests on port 3001. To access the API, open your web browser and go to http://localhost:3001.
$ docker run -p 3001:3001 ghcr.io/shadowoff09/cinema-quotes:latest
$ docker run -d \ -p 3001:3001 \ --name cinema-quotes \ --restart=always \ ghcr.io/shadowoff09/cinema-quotes:latest
To use this api you have at the moment 7 endpoints for this list of movies/series:
Here you can find all the endpoints for this api.
If the endpoints dont respond, you should try to remove the https://
To get only one quote:
https://cinema.shadowthings.xyz/api/quotes/strangerthings
To get a custom number of quotes (eg: 5 quotes):
https://cinema.shadowthings.xyz/api/quotes/strangerthings/5
https://cinema.shadowthings.xyz/api/quotes/lucifer
https://cinema.shadowthings.xyz/api/quotes/lucifer/5
https://cinema.shadowthings.xyz/api/quotes/bettercallsaul
https://cinema.shadowthings.xyz/api/quotes/bettercallsaul/5
https://cinema.shadowthings.xyz/api/quotes/breakingbad
https://cinema.shadowthings.xyz/api/quotes/breakingbad/5
https://cinema.shadowthings.xyz/api/quotes/deathnote
https://cinema.shadowthings.xyz/api/quotes/deathnote/5
https://cinema.shadowthings.xyz/api/quotes/thelastofus
https://cinema.shadowthings.xyz/api/quotes/thelastofus/5
https://cinema.shadowthings.xyz/api/quotes/onepiece
https://cinema.shadowthings.xyz/api/quotes/onepiece/5
If you want to contribute to this project you can do it by forking the project and making a pull request.