Skip to content

Stratosss/Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dictionary

Overview

This project concerns a website that was built using the Express/Node.js platform, with the Axios HTTP client, and which integrates an API from the very famous online dictionary Merriam-Webster (https://www.dictionaryapi.com/). The webpage takes a word from the user and returns the pronunciation (if it exists) and an array of definitions (if they exist). It also returns warnings based on word availability or if an empty line is requested. See it live on (it might take a while to load the page): https://dictionary-x9lr.onrender.com/

Prerequisites

  • Go to the directory where that folder lives in and install the necessary packages by typing the following commands in terminal:
    • npm init -y
    • npm i ejs
    • npm i express
    • npm i body-parser
    • npm i axios
  • Ιn the package.json type: "type": "module"
  • This application requires an API key from https://www.dictionaryapi.com/
    • Create an API key for : "Merriam-Webster's Collegiate® Dictionary with Audio"
    • Copy and paste the API key in index.js file.
  • To run it in localhost, install node.js from: https://nodejs.org/en/download

Directions

  • After installing the prerequisites, initialize the application by typing either "node index.js" or "nodemon index.js".
  • Open a browser and go to "localhost:3000"

Updates

  • 9/5/2024: Sound pronunciation button was added!

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published