A sample project to test working with the CleanTalk API through a Node.js client.
Install dependencies.
npm install
Register for a CleanTalk API key at https://cleantalk.org/.
Create a secrets file .env
and set your API key.
CLEANTALK_AUTH_KEY=<CleanTalk API Key>
Run the Serverless project offline.
npm start
Visit the localhost site: http://localhost:3000