lachesis17 / react-wordcount

Simple text entry word count with React and node.js

Home Page:https://reactnodejs-wordcount.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word count with React and nodejs - reused function from FASTAPI-Docker

Hyphonated words and words containing an apostrophe are treat as a single word for simplicity. Dates are one word, numbers are one word, all symbols are discarded apart from ampersand "&", since it's "and"!

Either enter text into the text input or drag & drop a plaintext.txt file into the text input.

Hosted via vercel at: https://reactnodejs-wordcount.vercel.app/

lg

Commands:

To run locally:

  • Uncomment the localhost line 32 in src/App.js and line 37 in src/TextInput.js
  • Run two terminals, one for the server:
node api/server.js
  • And one for the React app:
npm run start

About

Simple text entry word count with React and node.js

https://reactnodejs-wordcount.vercel.app/


Languages

Language:JavaScript 56.9%Language:CSS 31.4%Language:HTML 11.6%