/count-api

Primary LanguageJavaScript

Word Count API

Getting start

npm i
or
yarn install

Fire things up

npm start

Then you can visit http://localhost:3000/count in Postman or similar.

Pass the following in the body of the POST request

{
    "id": "93nsdf8i3",
    "message": "This is a message that we recieved"
}