Skip to content

API interface to generates a random word based on the number of characters from a database of over 6,500 words.

Notifications You must be signed in to change notification settings

jenniesf/Random-word-generator-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random-word-generator-API

Table of Contents

  1. Overview
    1. Link to webpage
    2. Screenshot
  2. My Process
    1. Built With
    2. How It Works
    3. What I Learned
    4. Optimizations

Overview

I built an API interface which generates a random word based on the number of characters requested from a database of over 6,500 words.

I developed this API for a word game I am creating. I could not find a similar API that matched my requirements so I created my own.

An API (Application Programming Interface) is a contract that allow developers to interact with an application through a set of interfaces.

Unsure what to do with this API? Some ideas include: developing games, creative writing, spelling and vocabulary.

My application is hosted on Heroku.

no longer active

Screenshot

RandomWordAPI-screenshot

My Process

Built With:

  • Node.js
  • Express
  • EJS
  • Javascript
  • HTML
  • CSS

How It Works

This is an API that generates a random word based on the number of characters requested by the user.

What I Learned

I learned about servers, APIs, databases, EJS, debugging, importing/exporting external JS files, and the different types of status codes. In addition, I learned how to push my code to Heroku, including how to troubleshoot Heroku error codes.

Optimizations:

I would like to provide the following future features/optimizations:

  • Create documentation
  • Utilize objects for the data and include additional information, such as word definition and speech
  • Update the front-end and include additional information for end-user
  • Move data to MongoDB

About

API interface to generates a random word based on the number of characters from a database of over 6,500 words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages