- Видео 255
- Просмотров 3 564 098
DCodeMania
Индия
Добавлен 4 ноя 2016
Hello, I’m Sahil Kumar, A part Time You-tuber, Blogger, Full Stack Web Developer, Graphic Designer and Founder of RUclips channel DCodeMania. DCodeMania is a channel that provides you authentic, latest and trending video tutorials on Web Design & Development, Android Application Development, Graphic Designing and Other Programming related videos.
16 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Hello friends!
Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS!
In this tutorial, you will learn the following:
- Storing authenticated user's session data in MongoDB database on login.
- Removing user's session data from MongoDB database on logout
💻 GitHub repo link: github.com/DCodeMania/node_express_auth_and_posts_management_system
▶️ Playlist of this project: ruclips.net/p/PL6u82dzQtlfvULWESGLfGiWky7iA-m7JH
#nodejs #expressjs #mongodb #ejs #fullstackdevelopment #webdevelopment #javascript #codingtutorial #authentication #postmanagement #webapp #programming #fullstack #developertutorial #...
Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS!
In this tutorial, you will learn the following:
- Storing authenticated user's session data in MongoDB database on login.
- Removing user's session data from MongoDB database on logout
💻 GitHub repo link: github.com/DCodeMania/node_express_auth_and_posts_management_system
▶️ Playlist of this project: ruclips.net/p/PL6u82dzQtlfvULWESGLfGiWky7iA-m7JH
#nodejs #expressjs #mongodb #ejs #fullstackdevelopment #webdevelopment #javascript #codingtutorial #authentication #postmanagement #webapp #programming #fullstack #developertutorial #...
Просмотров: 404
Видео
15 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 2737 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Fetching all posts from database. - Working on Pagination logic. - Sending all fetched posts to view file. - Sending pagination data to view file. - Rendering all posts in home ...
14 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 1987 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Fetching post along with associated user from the database. - Sending feteched post to the view post detailed page. - Displaying post detail dynamically in the post detailed pag...
13 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 1767 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Changing anchor tag to form post method for delete a post. - Handling post request to delete a post from database. - Removing post id from users document posts field. - Removing...
12 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 2247 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Fetching clicked edit post from database. - Populating previous values in the edit form. - Displaying previous image preview in edit form. - Updating post into database. - If ne...
11 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 2717 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Fetching all posts of current logged in user. - Sending all fetched posts to the view file. - Using loop in view to iterate and display posts in tabular format. ▶️ Playlist of t...
10 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3057 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Handling Create new post router post request. - Using Multer defining storage for destination and filename. - Creating upload middleware to upload file. - Saving post into datab...
09 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3437 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Creating posts routes file to manage all posts routes. - Designing My posts page. - Designing create new post page. - Designing edit post page. - Designing view post in detail p...
08 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3828 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Working on Forgot password page to make it dynamic. - Generating a token for the password reset for the requsted user. - Saving token in the database to the requested user with ...
07 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3608 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Working on User profile page design and make it dynamic. - Working on User logout function. - Working on middleware for accessing session data from the views. - Working on middl...
06 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 4078 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Working on User registration page to make it dynamic. - Storing user information to the MongoDB database. - Working on User login page to make it dynamic. - Authenticating user ...
05 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 2698 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Created user and post models. - Defined middlewares (body parser, cookie parser, session, flash messages) ▶️ Playlist of this project: ruclips.net/p/PL6u82dzQtlfvULWESGLfGiWky7i...
04 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3138 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Separating all authentications related routes from server.js file to a new file. - Designing all authentication pages using Bootstrap 5 - Designing Login Page. - Designing Regis...
03 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 3898 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Setting up EJS templating engine. - Creating views. - Creating partials like header & footer. - Using partials in the pages. - Designing Navbar using Bootstrap 5 ▶️ Playlist of ...
02 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 5608 месяцев назад
Hello friends! Welcome to my comprehensive tutorial on building a full authentication system with post management functionality using Node.js, Express, MongoDB, and EJS! In this tutorial, you will learn the following: - Setting up project. - Installing all required dependencies. - Creating simple express app with home route. - Using env file. - Creating MongoDB Atlas database in the cloud. - Co...
01 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 1,4 тыс.8 месяцев назад
01 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
25 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 7 тыс.9 месяцев назад
25 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
24 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 2,9 тыс.10 месяцев назад
24 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
23 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3,1 тыс.10 месяцев назад
23 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
22 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3,9 тыс.10 месяцев назад
22 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
21 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3,5 тыс.10 месяцев назад
21 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
20 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3,3 тыс.10 месяцев назад
20 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
19 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3,9 тыс.10 месяцев назад
19 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
18 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,1 тыс.10 месяцев назад
18 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
17 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,5 тыс.10 месяцев назад
17 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
16 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,4 тыс.10 месяцев назад
16 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
15 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,4 тыс.10 месяцев назад
15 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
14 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 5 тыс.11 месяцев назад
14 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
13 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,7 тыс.11 месяцев назад
13 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
12 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 4,7 тыс.11 месяцев назад
12 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
May I ask, what is your vscode theme it was so neat and clean in my eyes
router.post('/add', upload, async (req, res) => { if (!req.file) { res.json({ message: "No file uploaded", type: "danger" }); return; } const user = new User({ name: req.body.name, email: req.body.email, phone: req.body.phone, image: req.file.filename, }); try { await user.save(); // Wait for the save operation to complete req.session.message = { type: 'success', message: 'User added successfully!', }; res.redirect('/'); } catch (err) { console.log("Error saving user:", err); res.json({ message: err.message, type: 'danger' }); } }); you will get an error at the 11.45 use this code in the router as the save isnt longer accepted in the new version only that
dear sahil, i want to ask you bro, this is a responsive website?
Sir, how can I make sure that the row I deleted from my "userProfil.php" page is updated simultaneously in the table on the "homepage.php" page that other users can see, without refreshing the page?
does this code still work?
Plz share code
Tables\Actions\ViewAction::make(), getting error on this whenever i try to click on view action btn, a blank black page appears the edit btn is fine also on delete the same error occurs
Tables\Actions\ViewAction::make(), getting error on this whenever i try to click on view action btn, a blank black page appears the edit btn is fine
why when I click on product details, not found
karena saat saya klik untuk meliahat detail produk, slug nya ada tambahan huruf di akhirnya, tolong pencerahan nya
Hello sir I need help I want to know how to do this for any payment gateway both crypto and for a ready made php script from code envanto marketplace
Keep it up sir.
your tutorial is missing too many stuff and so basic, such a waste of time
Hi, outstanding videos, can you tell me which extensions do you use in Visual Code, Thanks
Which database will your application use?
For this I used SQLite database
brother thank you a lot
brother you explained it so well
Congratulations on the tutorial project, it is helping me with my university and job search. I am pausing the video and checking to see if I am missing any concept. Professor or a viewer could you tell me the level of difficulty or professionalism of the project (beginner - intermediate - advanced)? Thank you very much, greetings from Argentina.
Pls make this in Laravel 10
well Explained thank bro
Dear Mr. Sahil I bought your script but now your channel recurring I do not know about this please refund me on latest and I cancel your member already.
You can cancel your subscription.
hi sahil how did you write comment in html inside curly braces
Hey sir, can you share your vscode extensions? I like your theme as well
salam A. brother how are doing? brother when i add the product it become error can you please help me? this my Error Array to string conversion insert into "products" ( "name", "slug", "description", "images", "category_id", "brand_id", "is_featured", "on_sale", "updated_at", "created_at" ) values ( Apple iPhone 16 Pro Max, apple - iphone -16 - pro - max, ?, ?, 1, 3, 0, 0, 2025 -01 -04 21: 35: 16, 2025 -01 -04 21: 35: 16 )
Thank you bro for your valuable content 😀
anyway i can have a copy of the codes?
How do I make an auction product where people can bid along with the buy now?
here using the code grand total cannot be taken. why?
i add this in my grand total ->afterStateUpdated(function ($state, Set $set, Get $get) { if ($state === null || $state === '') { // Check if total is empty $price = $get('unit_price') ?? 0; $quantity = $get('quantity') ?? 1; $set( 'total', $price * $quantity ); } }) ->afterStateHydrated(function ($state, Set $set, Get $get) { if ($state === null || $state === '') { // Check if total is empty during hydration $price = $get('unit_price') ?? 0; $quantity = $get('quantity') ?? 1; $set( 'total', $price * $quantity ); } }) and worked
pls help me : Installation failed, reverting C:\laravelE\ecommerce\composer.json and C:\laravelE\ecommerce\composer.lock to their original content.
I get the following error when clicking an uploaded image to display in it's own modal window. I cannot find a solution anyplace. I was hoping you could help. reload.js:22 WebSocket connection to 'ws://127.0.0.1:5500//ws' failed: init @ reload.js:22Understand this errorAI modal.js:160 Uncaught TypeError: Cannot read properties of undefined (reading 'backdrop') at On._initializeBackDrop (modal.js:160:39) at new On (modal.js:71:27) at On.getOrCreateInstance (base-component.js:65:41) at HTMLAnchorElement.<anonymous> (modal.js:365:22) at HTMLDocument.n (event-handler.js:118:19)
Thank you 😃
Timestamps (Powered by Merlin AI) 00:00 - Sorry, we don't have enough information about this video at the moment to generate a summary.
Great Work
Thanks for quite perfect example to OOP in PHP!
Thanks for the tutorial.Could you please tell how to use alpine.js for customize default admin panel
Could you please GitHub rep?
Thank you sir I'm from the Philippines. I lost my job last 2022 because of depression. I've learned a lot from you. I feel like I'm ready to apply.
can spill your vs code extentions sir??
I'll upload a video on this very soon!
hello sahi i am starting this series now , can you plz confirm is this complete project or something is still incomplete ?
This is complete series.
I had a problem when creating a product ID, the unit_amount price section didn't appear ->callAfterStateUpdated(fn($state, Set $set) => $set('unit_amount', Product::find($state)?->price ?? 0)),
my error is "count(): Argument #1 ($value) must be of type Countable|array, string given" but if I put something to $cart_items = []; like this static public function getCartItemsFromCookie() { $cart_items = json_encode(Cookie::get('cart_items'), true); if(!$cart_items) { $cart_items = [1,2,3]; } return $cart_items; } it show show's the cart count
I spend 2days to figure out what's wrong with my code... huhu. I put json_encode it's supposed to be json_decode.
I am getting an error- posts is not defined at eval (eval at compile..... The rendering and app works fine, but for some reason 'posts' is not loading initially during compile and gives off this error in the console. Any solution?
Amazing lessons, you're doing a great job!
Excuse me sir. How to make differents page from filament for admin role, and blade view for user role? and how is the name route of the filament panel admin? how i get filament page if admin role login and redirect to admin panel?
PHP is the NEW JAVASCRIPT
Dear DCodeMania If I subscrib diamond, Can I get this code to practise?
Yes subscribe diamond then contact me on wolfmania44@gmail.com to get the full project source code in a zip
I started learning PHP last year. Procedural PHP to OOP to MVC to making Frameworks to Laravel and now Filament and Livewire. Thank you very much. Filament gives me comfort.
Exelent, thanks!. Can you tell me which tier on domain Racer you have that support node.js? i have a GoDaddy server and i noticed that it does not support it.
Sir, I am making a dynamic Add/Remove form. In this form, 11 to 25 members can be added at once but its value is not getting inserted in the database and no errors are getting displayed. Sir, please help me in solving it. I can also donate to you.
sir is this relevant in 2024?
No
sir why auth()->login($user); is undefine methon 'login'. ntelephense(P1013)
It's a false waring shown by vs code. You can ignore or to remove warning you can use Auth facade