InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Node.js tutorials

  • Install node.js on Ubuntu Linux
  • Install node.js on Mac
  • npm tutorial
  • Debug javascript using node and Chrome
  • Find source file location of a module
  • Find version of installed package
  • How to use pm2 to manage node.js application in production
  • NestJS Quick start tutorial on Mac
  • NextJS Quick start tutorial on Mac
  • Fix cannot find module error
 
  • Home
  • > Tutorials
  • > Web Development
  • > Node.js

NestJS Quick start tutorial on Mac

on Dec 18, 2022

Quick start tutorial steps for installing NestJS:

  1. Install Node on Mac
  2. Install NestJS
    npm i -g @nestjs/cli
  3. Create new nest project
    nest new proj1
  4. To create a new project with TypeScript’s strict mode enabled, pass the –strict flag
    nest new --strict proj1
  5. Start the app
    cd proj1
    npm run start
    > proj1@0.0.1 start
    > nest start
    
    [Nest] 70250  - 12/18/2022, 5:30:21 PM     LOG [NestFactory] Starting Nest application...
    [Nest] 70250  - 12/18/2022, 5:30:21 PM     LOG [InstanceLoader] AppModule dependencies initialized +15ms
    [Nest] 70250  - 12/18/2022, 5:30:21 PM     LOG [RoutesResolver] AppController {/}: +2ms
    [Nest] 70250  - 12/18/2022, 5:30:21 PM     LOG [RouterExplorer] Mapped {/, GET} route +1ms
    [Nest] 70250  - 12/18/2022, 5:30:21 PM     LOG [NestApplication] Nest application successfully started +1ms
  6. Visit http://localhost:3000/ to see the app outcome
  7. To start the app in dev mode (It will watch the changes to the file continuously)
    npm run start:dev

Suggested posts:

  1. NextJS Quick start tutorial on Mac
  2. node-sass quick start tutorial on Linux and Mac
  3. LXC (Linux Containers) – quick start tutorial on Ubuntu
  4. Docker quick start guide on Mac
  5. redis cli quick start tutorial
  6. mac pkgutil – quick start guide
  7. Gulp quick start tutorial
  8. DIG quick start tutorial for DNS Lookup
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Mac, Node.js

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress