fix(curriculum): add setup instructions to first backend challenge (#62399)

Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
AG 2026-04-19 01:31:32 +05:30 committed by GitHub
parent 0e638a78ad
commit 7c5e523aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,10 +10,10 @@ dashedName: how-to-use-package-json-the-core-of-any-node-js-project-or-npm-packa
Working on these challenges will involve you writing your code using one of the following methods:
- Clone <a href="https://github.com/freeCodeCamp/boilerplate-npm/" target="_blank" rel="noopener noreferrer nofollow">this GitHub repo</a> and complete these challenges locally.
- Clone <a href="https://github.com/freeCodeCamp/boilerplate-npm/" target="_blank" rel="noopener noreferrer nofollow">this GitHub repo</a> and complete these challenges locally, using <a href="https://www.freecodecamp.org/news/how-to-run-the-freecodecamp-backend-challenges-locally/" target="_blank" rel="noopener noreferrer nofollow">this guide</a> to set up Node.js, npm, and run the backend projects on your machine.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
The `package.json` file is the center of any Node.js project or npm package. It stores information about your project. It consists of a single JSON object where information is stored in key-value pairs. There are only two required fields; `name` and `version`, but its good practice to provide additional information.
The `package.json` file is the center of any Node.js project or npm package. It stores information about your project. It consists of a single JSON object where information is stored in key-value pairs. There are only two required fields; `name` and `version`, but it's good practice to provide additional information.
You can create the `package.json` file from the terminal using the `npm init` command. This will run a guided setup. Using `npm init` with the `-y` flag will generate the file without having it ask any questions, `npm init -y`.
@ -29,7 +29,7 @@ One of the most common pieces of information in this file is the `author` field.
Add your name as the `author` of the project in the `package.json` file.
**Note:** Remember that youre writing JSON, so all field names must use double-quotes (") and be separated with a comma (,).
**Note:** Remember that you're writing JSON, so all field names must use double-quotes (") and be separated with a comma (,).
# --hints--