Module

create-app

import createApp from "@quintype/framework/server/create-app";

View Source server/create-app.js, line 1

Methods

# inner createApp(opts) → {Express}

Create an express app with various common configurations

Parameters:
Name Type Description
opts object
mountAt string | function

Mount Quintype framework at a subdirectory. See tutorial. If mountAt is a function, it must accept the current hostname and return the mount point.

View Source server/create-app.js, line 23

an express app

Express