Node.js Web server framework, emphasized distinction between serving pages and XHR
JavaScript HTML Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
test
web Allow any path on WebSocket and EventSource Apr 30, 2017
.gitignore
.npmignore
.travis.yml
LICENSE.md
Makefile
README.md
TODO.md Todo: updated information; mostly, auth + cache. Dec 30, 2013
app.js
index.html
package-lock.json npm update Oct 16, 2017
package.json
scout.js

README.md

ScoutCamp Build Status

WebApps Framework

Documentation.

Get started

  • npm install camp
  • put website files in web/
  • edit app.js with require('camp').start({port: 1234})
  • run node app
  • hit localhost:1234
  • enjoy!

Have a sip at what you can do here! Spoilers: one-liner WebSocket chat demo. Download it for free to try the demo!

Features

  • routes, templates (with one parser by default)
  • query parameters processing, file upload, HTTP authentication
  • ajax, EventSource (SSE), WebSockets built-in

Contribute

License

MIT. See LICENSE.md for more.

The "Red spiders" comic is CC BY-NC 2.5 from Randall Munroe, XKCD. Link in web/index.html.

Versions

Versions are tags labeled after the day it was released.

31.06.28 → june 28th, 2031

They are all under LICENSE.md.