Skip to main content

Develop with FastTrack

Set up a three-tiered application

These steps set up a three-tier application that can use FastTrack to search MarkLogic data.

Note

You can set up a three-tier application using the fasttrack-getting-started.zip file included with FastTrack.

  1. Data tier: MarkLogic server with data exposed through a REST API via an app server.

  2. Middle tier: Node.js Express server that forwards requests from the UI to MarkLogic, and responses from MarkLogic to the UI.

  3. UI tier: React application that can import and use the FastTrack widgets.

After setting up the three-tier application, a search application can be created to experiment with the FastTrack widgets. See Create a search application.

Note

Two-tier applications can be built with a UI that communicates directly with MarkLogic. However, this may sacrifice the flexibility and security advantages of using a middle tier.