cat > tutorials/day-01-introduction.md <<'EOF'
echo "\n## 🚀 Day 2 Tutorial\n\n- Basic NestJS setup\n- Project structure explained\n- Running first module\n" >> README.md
In Day 1, you will understand what Node.js and NestJS are, why they are useful, and how a basic NestJS project is structured.
Node.js is a runtime environment that allows JavaScript to run outside the browser.
Usually JavaScript runs inside browsers like Chrome, Firefox, or Safari. With Node.js, we can use JavaScript to build backend applications, APIs, command-line tools, and real-time applications.
NestJS is a backend framework built on top of Node.js. It uses TypeScript and helps developers build clean, scalable, and maintainable server-side applications.
NestJS is very useful for building REST APIs, microservices, and enterprise-level applications.
NestJS is popular because it provides:
- Clean folder structure
- TypeScript support
- Dependency injection
- Module-based architecture
- Easy API development
- Good testing support
- Scalable backend structure
Install these tools before starting:
- Node.js
- npm
- Git
- VS Code
Check installation:
node -v
npm -v
git --version