This repository contains a collection of Node.js projects, each demonstrating different concepts and features of Node.js, Express, templating engines, authentication, databases, and more. Each folder is a standalone project with its own dependencies and instructions.
01.file_helper/
02.tailwind_css/
03.ejs/
04.controller_and_models/
05.dynamic_path/
06.dynamic_path_b/
07.intro_to_mysql/
08.intro_to_mongodb/
09.intro_to_mongoose/
10.cookies_and_session/
11.authentication_and_authorization/
12.adding_user_model/
13.adding_user_model_b/
14.handling_multipart_form_data/
15.todo_app_with_backend/
-
01.file_helper
Basic file operations and form handling in Node.js. -
02.tailwind_css
Integrating Tailwind CSS with Node.js and Express. -
03.ejs
Using EJS as a templating engine for dynamic HTML rendering. -
04.controller_and_models
MVC pattern: separating controllers and models in Express apps. -
05.dynamic_path
Handling dynamic routing and URL parameters. -
06.dynamic_path_b
Advanced dynamic routing examples. -
07.intro_to_mysql
Introduction to using MySQL with Node.js. -
08.intro_to_mongodb
Introduction to MongoDB integration in Node.js apps. -
09.intro_to_mongoose
Using Mongoose ODM for MongoDB in Node.js. -
10.cookies_and_session
Managing cookies and sessions in Express. -
11.authentication_and_authorization
Implementing user authentication and authorization. -
12.adding_user_model
Adding and managing user models in a Node.js app. -
13.adding_user_model_b
Extended user model features and authentication flows. -
14.handling_multipart_form_data
Handling file uploads and multipart form data. -
15.todo_app_with_backend
A full-stack TODO app with a Node.js backend and React frontend.
Each project folder contains its own package.json and dependencies. To run a project:
-
Navigate to the project directory:
cd 01.file_helper -
Install dependencies:
npm install
-
Start the application:
npm start
-
Open your browser and navigate to the specified port (usually
http://localhost:3000).
Some projects require additional services (e.g., MySQL, MongoDB). Refer to the code and comments in each project for more details.
This repository is for educational purposes.
Feel free to explore each folder for more