Skip to content

nkilm/riddles-api

Repository files navigation

Riddles REST API

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

Development - How to setup locally?

  • With Docker - Easy way
docker build -t riddles-api .
docker run -it -p 9090:9090 riddles-api
  • Without Docker
  1. Check if node is installed
node -v

# if this throws error, then install nodejs
# link - https://nodejs.org/en/download/
  1. After cloning the repository, cd to project folder
npm install 
  1. After all packages are installed, start the server
npm start

# or
nodemon server.js

Usage

ss of response from the API

About

An API which returns a riddle each time a call is made.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published