The obvious next step is to create the hello, world application in Nest. Run the following command to create the hello, world application using Nest CLI.
$ nest new hello-world
Nest will ask you to choose the package manager from the options. Go with the
default npm
(or you can choose yarn
if you like) and
wait for the Nest CLI to scaffold the application and also install the
dependencies of the application.
Once the process is finished, go inside the created
hello-world
application.
$ cd hello-world
Then run the following command to start and run the application (as they mentioned in logs).
$ npm run start
Then open the http://localhost:3000 in the browser and you should see the "Hello World!". If that is the case, you just created the hello, world application in Nest. Congratulations 🎉!
Labels: nest