# Creating Your Application

## Generating your Application

First, we need to [install the Blueprint command-line interface (cli)](https://blueprint.onehilltech.com/getting-started#installation). The cli makes it easier to start a new Blueprint application, and implement different components of the application. When installing the cli, you want to install it globally.

Now, use the installed [blueprint cli](https://github.com/onehilltech/blueprint-cli/) to generate a new application.

```bash
blueprint new super-rentals
```

The cli will generate a new Blueprint application in the `super-rentals` directory. It will also install the node modules for the application.&#x20;

## Starting your application

Let's make sure the `super-rentals`  application generated correctly. Change to the newly generated directory, and run the application as follows:

```bash
node ./app
```

This will start the Blueprint application in development mode, and make it available at <http://localhost:5000>.

If you want to run the Blueprint application in a different environment mode, then use the `NODE_ENV` environment variable. For example, if you want to run the application in a `production` environment, then use the following command:

```bash
NODE_ENV=production node ./app
```
