A web API that serves various GET endpoints to retrive questions for conversational games such as Truth or Dare, Would You Rather, Never Have I Ever, and Will You Press The Button.
/api/truth
: Retrieves a random truth question./api/dare
: Retrieves a random dare question./api/wyr
: Retrieves a random "Would You Rather" question./api/wyptb
: Retrieves a random "Will You Press the Button" question./api/nhie
: Retrieves a random "Never Have I Ever" question.
- Clone the repository.
git clone https://github.com/waterrmalann/conversational-games-api.git
- Install the dependencies.
npm install
- Run the project
npm start
Responses are saved in .json
files located at the data
folder that can be easily edited, added to, or removed from.
Contributions are always accepted. Feel free to open a pull request to fix any issues or to make improvements you think that should be made. You could also help me with the to-do list above. Any contribution will be accepted as long as it doesn't stray too much from the objective of the app. If you're in doubt about whether the PR would be accepted or not, you can always open an issue to get my opinion on it.
This project is licensed under the permissive MIT License, see LICENSE