/express-hello-world

Implements the Expressjs Hello World example to provide a faster start deploying on the Cyclic platform

Primary LanguageJavaScriptMIT LicenseMIT

Cyclic Hello World

This is a basic Expressjs app with static file hosting and

Installation

Local

  • npm run serve
  • Browser: http://localhost:3000/some/path?q=query+one&q=second+query&single=value
  • Commandline: curl -i -XGET "http://localhost:3000/cmd/line-curl"

Cyclic Runtime

  • The Cyclic runtime expects a file in the root of your project named server.js
  • The runtime will node . which runs your server.js by default.