api.init(), the message queue will be connected and if it succeeds, the Promise it returned will be resolved and the controllers that users build will be loaded and used as the middleware by the Express App. Finally when the
start()``method is called, the Express App will listen to the given port, and the server starts. The port is default to ``3000and the amqpAddress is default to
usePushkinController()method to actually use the controllers in their server. Pushkin will take charge of packaging the custom experiments.
./pushkin. For the API part, the pushkin will load and require the experiment’s controllers. With this method, the Pushkin-API will nest the Express router app for this experiment at the route /api/[exp], where [exp] is the path for the experiment in question.