@loopback/docs
Version:
Documentation for LoopBack 4
32 lines (21 loc) • 929 B
Markdown
lang: en
title: 'API docs: core.application._constructor__1'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/core
permalink: /doc/en/lb4/apidocs.core.application._constructor__1.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/core](./core.md) > [Application](./core.application.md) > [(constructor)](./core.application._constructor__1.md)
## Application.(constructor)
Create an application with the given configuration and parent context
<b>Signature:</b>
```typescript
constructor(config?: ApplicationConfig, parent?: Context);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| config | <code>ApplicationConfig</code> | Application configuration |
| parent | <code>Context</code> | Parent context |