Course Content
ANGULAR Tutorial
About Lesson

Setting up the development environment

  1. Node.js and npm: Install Node.js from the official website. npm (Node Package Manager) comes bundled with Node.js.

Setting Up Angular CLI:

  1. Angular CLI Installation:
    • Open a terminal or command prompt.
    • Install Angular CLI globally by running: npm install -g @angular/cli

Creating a New Angular Project

  1. Creating a New Project:
    • Navigate to the desired directory in the terminal.
    • Generate a new Angular project using Angular CLI: ng new project-name
    • Follow the prompts to set up features like routing and stylesheets.

Running the Development Server:

  1. Starting the Development Server:
    • Once the project is created, navigate into the project directory: cd project-name
    • Launch the development server: ng serve
    • Access the application by visiting http://localhost:4200 in your web browser.

Additional Configuration (Optional):

  1. IDE or Code Editor:

    • Use a preferred Integrated Development Environment (IDE) or code editor like Visual Studio Code, Atom, or WebStorm for coding.
  2. Dependencies and Packages:

    • Install additional dependencies using npm if required for your project. Use commands like npm install package-name.

Version Control (Optional):

  1. Version Control with Git:
    • Initialize a Git repository in your project folder: git init
    • Connect your local repository to a remote one if needed: git remote add origin remote-repository-url