...

/

Creating an App

Creating an App

You'll learn how to create an Angular app with a few commands, run the server, and turn it off.

We’re going to start things off by scaffolding a new project. You’ll learn how to start a project both locally and on Educative.

Scaffolding a new project locally

We installed the CLI in the previous lesson. We’re going to use it to create a new project. In the terminal, we’ll need to run the ng new command.

ng new reverse-phrase

After inputting the command, we’ll need to provide a name for the project. The first project we’ll create will reverse a string based on an input. Hence, the reason we’re calling it the reverse phrase.

The CLI will ask us a couple of questions about the project we’d like to generate. These are just options to customize ...