An open API service indexing awesome lists of open source software.

https://github.com/dibenso/word-counter

A react app that records how many times a word occurred from input in a textarea
https://github.com/dibenso/word-counter

express javascript nextjs nodejs react

Last synced: about 2 months ago
JSON representation

A react app that records how many times a word occurred from input in a textarea

Awesome Lists containing this project

README

        

# word-counter
A Next.js React app that allows a user to type in a textarea while keeping track of how many times that word occurred from the text in that text area.

![word-counter](screenshot.jpg?raw=true "word-counter")

## Features
* Tracks how many times a specific word was typed in the textarea.
* Clicking on a word in the word box shows the dictionary definition of that word.
* A bar chart that shows the top 5 most used words.
## Demo
To build and run the demo:
* Clone this repository:
```sh
git clone https://github.com/dibenso/word-counter.git
```
* Install dependencies:
```sh
npm install
```
or
```sh
yarn install
```
* Start demo server:
```sh
npm run dev
```
## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D