Skip to content

0rientd/curso-node-rocketseat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

Node.js Fundamentals Journey

This repository documents my journey through the fundamentals of Node.js, with practical examples and hands-on projects. Each directory inside aulas represents a lesson, showcasing a specific concept or feature of the Node.js ecosystem.

🚀 What's Inside?

This project is a collection of simple Node.js applications, each demonstrating a core concept. Here's a breakdown of what you'll find in each lesson:

  • 01-fundamentos-node-js: The very basics. Learn how to create a simple HTTP server from scratch using the http module.
  • 02-fundamentos-node-js: Building a basic API. This lesson introduces request and response handling, routing, and the use of JSON.
  • 03-fundamentos-node-js: Diving into Streams. Explore the power of streams for handling data efficiently. This lesson covers Readable, Writable, and Transform streams, as well as the concept of Buffers.
  • 04-fundamentos-node-js: Data persistence. Learn how to work with a file-based database to store and retrieve data.
  • 05-fundamentos-node-js: Building a complete RESTful API. This lesson brings everything together, with a focus on creating a well-structured API with routes, middlewares, and a database module. It also covers advanced routing with URL params and query strings.

🛠️ How to Use

You can explore each lesson individually. To run the code:

  1. Navigate to the desired lesson's directory (e.g., cd aulas/01-fundamentos-node-js).
  2. Install the dependencies: npm install.
  3. Run the server: npm run dev.

💡 Key Learnings

This project was a great opportunity to solidify my understanding of Node.js and its core concepts. Here are some of the key takeaways:

  • HTTP Server: How to create and manage an HTTP server.
  • Streams: The importance of streams for performance and memory efficiency.
  • API Development: The principles of building a RESTful API.
  • Code Organization: How to structure a Node.js application for maintainability and scalability.

Feel free to explore the code and learn along with me!

About

Repositório com conteúdos de estudo das aulas de NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published