/conversational-games-api

An API for conversational games like Truth or Dare, This or That, and more.

Primary LanguageJavaScriptMIT LicenseMIT

Conversational Games API

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.

🚀 Getting Started

Installing

  1. Clone the repository.
git clone https://github.com/waterrmalann/conversational-games-api.git
  1. Install the dependencies.
npm install
  1. Run the project
npm start

Adding new responses or editing them

Responses are saved in .json files located at the data folder that can be easily edited, added to, or removed from.

🤝 Contribution

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.

License

This project is licensed under the permissive MIT License, see LICENSE