Deployd

A modern web server for front-end developers.

Basics

Deployd is a web server built on resources, in the style of REST. In the dashboard, you can build your app by creating resources and configuring them to work the way the want.

Routing

When Deployd receives an HTTP request, it checks the first part of the URL to see which resource should handle the request:

Reserved resource names

Certain resource paths are used internally by Deployd. You should not create resources with these names:

REST

REST is a web service design pattern that conforms closely to HTTP itself. In Deployd, HTTP methods or verbs have meaning:

In Deployd, HTTP response codes are also important:

Cross-Origin AJAX

Deployd is configured so that you can easily develop a web app locally on your computer. It will send Access-Control-Allow-Origin HTTP headers if a request is coming from localhost or your filesystem, which will allow modern web browsers to use AJAX normally. It will not send these headers for any other domain.