Set Up the Project
Layered Architecture·1 min read·Jan 1, 2025
When starting a new project in Node.js, the first step consists in properly setting up the project's directory using industry-standard tools, such as:
- Git to enable version control and collaboration.
- npm to create the project's manifest.
- Eslint to enforce consistent coding practices.
Creating a Git repository
As defined per the Twelve-Factor App methodology, the code of an application should always be tracked in a version control system, such as Git, as it allows developers to keep a record of the changes made to the application, so that they can revert to specific versions should they ever need to.
Creating a repository on GitHub
To create a new repository on GitHub, you need to.
-
Logging in to your Github account or signing up if you don't have one yet.
-
Click on the "New" button to create a new repository.
Unlock the program 🚀
Pay once, own it forever.
€79
30-day money-back guarantee
- 13 modules
- 113 lessons with full-code examples
- 29 projects with commented solutions
- All future lesson and project updates
- Lifetime access
By submitting this form, you agree to the Terms & Conditions and Privacy Policy.