From 9472d7deeaeb4d7691f236d4e9f8bb9c188dffbc Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Thu, 4 Sep 2014 13:44:42 -0700 Subject: [PATCH] Improve documentation for webapp --- docs/client/packages/webapp.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/client/packages/webapp.html b/docs/client/packages/webapp.html index 3a49cba772..b18c440693 100644 --- a/docs/client/packages/webapp.html +++ b/docs/client/packages/webapp.html @@ -2,9 +2,15 @@ {{#markdown}} ## `webapp` -This package allows you to add handlers for HTTP requests to your app. This lets -other services access your app's data through an HTTP API, allowing it to easily -interoperate with tools and frameworks that don't yet support DDP. +The `webapp` package is what lets your Meteor app serve content to a web +browser. It is included in the `meteor-platform` set of packages that is +automatically added when you run `meteor create`. You can easily build a +Meteor app without it - for example if you wanted to make a command-line +tool that still used the Meteor package system and DDP. + +This package also allows you to add handlers for HTTP requests. +This lets other services access your app's data through an HTTP API, allowing +it to easily interoperate with tools and frameworks that don't yet support DDP. `webapp` exposes the [connect](https://github.com/senchalabs/connect) API for handling requests through `WebApp.connectHandlers`.