DEV Community

MC Naveen
MC Naveen

Posted on

ShowDev: I made an Random Words API with Pronunciation

Hi All,

I created a simple API which returns Random English Word along with the Definition and Pronunciation.

Pronunciation is generated on the fly with NLP.

Stack used

  • NodeJs
  • Express

Demo: https://random-words-api.vercel.app/word

RapidAPI: https://rapidapi.com/mcnaveen/api/random-words-with-pronunciation/

GitHub logo mcnaveen / Random-Words-API

πŸ¦„ Get Random Words (with pronunciation) for Free using this API

Random Words API

build-test

πŸ¦„ Get Random Words (with pronunciation) for Free using this API

πŸš€ API

  • Free API - https://random-words-api.vercel.app/word

  • PWA Demo - Check Here

🌐 Sample API Response

[
  {
    "word": "Exactor"
    "definition": "One who exacts; extortioner; claimer of rights  ",
    "pronunciation": "Eksaktor"
  }
]
Enter fullscreen mode Exit fullscreen mode

πŸ’‘ Learn New word

✨ Installation (Development)

# Clone the Repo
git clone https://github.com/mcnaveen/Random-Words-API random-words

# Cd into Directory
cd random-words

# Install Dependencies
yarn install

# Start the Development Server
yarn start
Enter fullscreen mode Exit fullscreen mode

πŸ”€ Deploying to Heroku

OneClick Deploy on Heroku

Deploy

πŸ”€ Deploying to Vercel

OneClick Deploy on Vercel

Deploy with Vercel

OR

- Fork the Repo
- Login to Vercel (https://vercel.com/dashboard)
- Click Import Project
- Give Forked Repo URL
- Go Live
Enter fullscreen mode Exit fullscreen mode

βš› CREDITS

If you found it useful. Please give a star.

Thank you.

Discussion (0)