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.
Data tier: MarkLogic server with data exposed through a REST API via an app server.
Middle tier: Node.js Express server that forwards requests from the UI to MarkLogic, and responses from MarkLogic to the UI.
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.