From 533cd8b1dfc5ac30f435efb9f2ba92a4843cf247 Mon Sep 17 00:00:00 2001 From: "Micael Levi L. Cavalcante" Date: Wed, 3 Jul 2024 18:11:26 -0400 Subject: [PATCH 1/3] docs: add mention how to create a bare minimum nestjs app from scratch --- content/introduction.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/introduction.md b/content/introduction.md index 808ecc70dd..2e4e849b76 100644 --- a/content/introduction.md +++ b/content/introduction.md @@ -14,7 +14,7 @@ Nest provides an out-of-the-box application architecture which allows developers #### Installation -To get started, you can either scaffold the project with the [Nest CLI](/cli/overview), or clone a starter project (both will produce the same outcome). +To get started, you can either scaffold the project with the [Nest CLI](/cli/overview), or [clone a starter project](#alternatives) (both will produce the same outcome). To scaffold the project with the Nest CLI, run the following commands. This will create a new project directory, and populate the directory with the initial core Nest files and supporting modules, creating a conventional base structure for your project. Creating a new project with the **Nest CLI** is recommended for first-time users. We'll continue with this approach in [First Steps](first-steps). @@ -42,8 +42,6 @@ Open your browser and navigate to [`http://localhost:3000/`](http://localhost:30 To install the JavaScript flavor of the starter project, use `javascript-starter.git` in the command sequence above. -You can also manually create a new project from scratch by installing the core and supporting files with **npm** (or **yarn**). In this case, of course, you'll be responsible for creating the project boilerplate files yourself. - -```bash -$ npm i --save @nestjs/core @nestjs/common rxjs reflect-metadata -``` +You can also manually create a new project from scratch by installing the core and supporting packages. In this case, of course, you'll be responsible for creating the project boilerplate files yourself. +In this case you should at least has the following dependencies: `@nestjs/core`, `@nestjs/common`, `rxjs` and `reflect-metadata` +Here is a short article on how to create a full project: [5 steps to create a bare minimum NestJS app from scratch!](https://dev.to/micalevisk/5-steps-to-create-a-bare-minimum-nestjs-app-from-scratch-5c3b) From 601f4aea3e7036f80fe60014192051052048bd9b Mon Sep 17 00:00:00 2001 From: Kamil Mysliwiec Date: Thu, 17 Oct 2024 12:45:15 +0200 Subject: [PATCH 2/3] Update content/introduction.md --- content/introduction.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/introduction.md b/content/introduction.md index 2e4e849b76..deca6140f4 100644 --- a/content/introduction.md +++ b/content/introduction.md @@ -42,6 +42,8 @@ Open your browser and navigate to [`http://localhost:3000/`](http://localhost:30 To install the JavaScript flavor of the starter project, use `javascript-starter.git` in the command sequence above. -You can also manually create a new project from scratch by installing the core and supporting packages. In this case, of course, you'll be responsible for creating the project boilerplate files yourself. -In this case you should at least has the following dependencies: `@nestjs/core`, `@nestjs/common`, `rxjs` and `reflect-metadata` -Here is a short article on how to create a full project: [5 steps to create a bare minimum NestJS app from scratch!](https://dev.to/micalevisk/5-steps-to-create-a-bare-minimum-nestjs-app-from-scratch-5c3b) +You can also start a new project from scratch by installing the core and supporting packages. Keep in mind that you'll need to set up the project boilerplate files on your own. + +At a minimum, you'll need these dependencies: `@nestjs/core`, `@nestjs/common`, `rxjs`, and `reflect-metadata`. + +Check out this short article on how to create a complete project: [5 Steps to Create a Bare Minimum NestJS App from Scratch!](https://dev.to/micalevisk/5-steps-to-create-a-bare-minimum-nestjs-app-from-scratch-5c3b).) From 9857724c83da6bd043d02d9cc2c241e69a798fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Thu, 17 Oct 2024 12:48:27 +0200 Subject: [PATCH 3/3] chore: improve wording --- content/introduction.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/introduction.md b/content/introduction.md index deca6140f4..2e7abb1f22 100644 --- a/content/introduction.md +++ b/content/introduction.md @@ -42,8 +42,4 @@ Open your browser and navigate to [`http://localhost:3000/`](http://localhost:30 To install the JavaScript flavor of the starter project, use `javascript-starter.git` in the command sequence above. -You can also start a new project from scratch by installing the core and supporting packages. Keep in mind that you'll need to set up the project boilerplate files on your own. - -At a minimum, you'll need these dependencies: `@nestjs/core`, `@nestjs/common`, `rxjs`, and `reflect-metadata`. - -Check out this short article on how to create a complete project: [5 Steps to Create a Bare Minimum NestJS App from Scratch!](https://dev.to/micalevisk/5-steps-to-create-a-bare-minimum-nestjs-app-from-scratch-5c3b).) +You can also start a new project from scratch by installing the core and supporting packages. Keep in mind that you'll need to set up the project boilerplate files on your own. At a minimum, you'll need these dependencies: `@nestjs/core`, `@nestjs/common`, `rxjs`, and `reflect-metadata`. Check out this short article on how to create a complete project: [5 steps to create a bare minimum NestJS app from scratch!](https://dev.to/micalevisk/5-steps-to-create-a-bare-minimum-nestjs-app-from-scratch-5c3b).)