nkilm / riddles-api

An API which returns a riddle each time a call is made.
https://riddles-api.vercel.app
MIT License
23 stars 8 forks source link
express rest-api vercel

Riddles REST API

API - https://riddles-api.vercel.app/random

Development - How to setup locally?

  1. Check if node is installed
    
    node -v

if this throws error, then install nodejs

link - https://nodejs.org/en/download/

2.  After cloning the repository, `cd` to project folder
```bash
npm install 
  1. After all packages are installed, start the server
    
    npm start

or

nodemon server.js



## Usage
![ss of response from the API](./screenshot/sample.png)