/stimulus-js-starter

simple stimulus-js with nodejs express form post and response

Primary LanguageJavaScriptMIT LicenseMIT

Stimulus Starter with Nodejs Express

Overview

see https://stimulusjs.org/handbook/hello-stimulus

Basic example to "Post" a greeting form to NodeJs and return response into page using XHR.

With added NodeJs and Express with multer package to support FormData content type encoding.

Setup

$ cd stimulus-js-starter
$ yarn install
$ yarn start

Browse to http://localhost:9000

greeting.gif