![DCodeMania](/img/default-banner.jpg)
- Видео 252
- Просмотров 3 221 936
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.
13 - 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:
- 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 actual post from posts document.
- Removing image file from uploads directory once post deleted.
▶️ Playlist of this project: ruclips.net/p/PL6u82dzQtlfvULWESGLfGiWky7iA-m7JH
#nodejs #expressjs #mongodb #ejs #fullstackdevelopment #webdevelopment #javascript #codingtutorial #authentication #postmanagement #w...
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 actual post from posts document.
- Removing image file from uploads directory once post deleted.
▶️ Playlist of this project: ruclips.net/p/PL6u82dzQtlfvULWESGLfGiWky7iA-m7JH
#nodejs #expressjs #mongodb #ejs #fullstackdevelopment #webdevelopment #javascript #codingtutorial #authentication #postmanagement #w...
Просмотров: 49
Видео
12 - Build Full Authentication And Post Management System | Node, Express, MongoDB & EJS
Просмотров 587 часов назад
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
Просмотров 15614 часов назад
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
Просмотров 17019 часов назад
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
Просмотров 14621 час назад
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
Просмотров 134День назад
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
Просмотров 12514 дней назад
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
Просмотров 11214 дней назад
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
Просмотров 9821 день назад
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
Просмотров 11821 день назад
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
Просмотров 14428 дней назад
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
Просмотров 25128 дней назад
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
Просмотров 580Месяц назад
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 how to: - Set up a Node.js project with Express. - Connect to a MongoDB database. - Implement user authentication (sign-up, login, and logout). - Create and manage posts for authenticated users....
25 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 2,1 тыс.2 месяца назад
Hello friends! This is the last video of this series in which I'm showing you how to make My Order Detail page dynamic. #Laravel #ECommerce #WebDevelopment #ModelsAndMigrations #Livewire #Filament #TailwindCSS 🔗 Full Playlist: ruclips.net/p/PL6u82dzQtlfv8fJF3gm42TDHJdtA2NDWT If you like my works and my video tutorials then you can donate me some amount. Paypal: www.paypal.me/wolfmania UPI: sahi...
24 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 9242 месяца назад
Hello friends! In this tutorial video, I'll guide you through fetching all orders for the logged-in user and displaying them on the "My Orders" page in a table format with pagination. Leveraging Livewire 3 pagination, we'll ensure a smooth and efficient user experience, allowing users to navigate through their orders seamlessly. #Laravel #ECommerce #WebDevelopment #ModelsAndMigrations #Livewire...
23 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 1 тыс.2 месяца назад
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
Просмотров 1,2 тыс.2 месяца назад
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
Просмотров 1,2 тыс.2 месяца назад
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
Просмотров 1,1 тыс.2 месяца назад
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
Просмотров 1,3 тыс.2 месяца назад
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
Просмотров 1,5 тыс.3 месяца назад
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
Просмотров 1,5 тыс.3 месяца назад
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
Просмотров 1,5 тыс.3 месяца назад
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
Просмотров 1,6 тыс.3 месяца назад
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
Просмотров 1,9 тыс.3 месяца назад
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
Просмотров 1,7 тыс.3 месяца назад
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
Просмотров 1,6 тыс.3 месяца назад
12 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
11 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 3 тыс.3 месяца назад
11 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
10 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 2,4 тыс.3 месяца назад
10 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
9 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
Просмотров 1,9 тыс.3 месяца назад
9 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS
{{request()->is('categories')?'text-blue-600':'text-gray-600'}} this isn't working in laravel 11
sorry i was in dark mode. Hence, i need to insert code in dark:
Can i get the template
please what's is the name of this font
Thank you for the tutorial, i have a problem. The scroll does not work in my home page, why do you think is it not working? thank you for answering.
That RelationManager is showing in edit page. i added some. But, it's not showing in view page. Help!
sorry, forget to add 'view' => Pages\ViewOrder::route('/{record}'), in getPages function
Waiting for next video broo.....❤
I'll upload soon!
What using for ejs emmet
EJS language support by DigitalBrainstem
Thank you
I really enjoyed your videos. Thank you very much. Have you uploaded the code from this video to github? If you have uploaded it, please provide your github address. Thanks beforehand!
If you want souce code then contact me on wolfmania44@gmail.com
in case it doesn't work when you install filament, it is because of the laravel 11, to fix this you should use this command, composer require filament/filament="3.2.57" -W
Brother I am trying to install by following the command but I am not able to install filament 3.2.57 or a composer require filament/filament:"^3.2" -W. I have the same error occur What should I do?
@@BhavyaBabariya-fc5cd what does the error say in your terminal?
@@Sh1nitsu Problem 1 - openspout/openspout[v4.23.0, ..., v4.24.1] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. - filament/filament v3.2.57 requires filament/actions v3.2.57 -> satisfiable by filament/actions[v3.2.57]. - filament/actions v3.2.57 requires openspout/openspout ^4.23 -> satisfiable by openspout/openspout[v4.23.0, v4.23.1, v4.24.0, v4.24.1]. - Root composer.json requires filament/filament 3.2.57 -> satisfiable by filament/filament[v3.2.57]. this error occurs in my terminal. In another case I am trying to install in fresh Laravel 11 project In that project also the error occur while installing a filament.
@@Sh1nitsu Problem 1 - openspout/openspout[v4.23.0, ..., v4.24.1] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. - filament/filament v3.2.57 requires filament/actions v3.2.57 -> satisfiable by filament/actions[v3.2.57]. - filament/actions v3.2.57 requires openspout/openspout ^4.23 -> satisfiable by openspout/openspout[v4.23.0, v4.23.1, v4.24.0, v4.24.1]. - Root composer.json requires filament/filament 3.2.57 -> satisfiable by filament/filament[v3.2.57]. This error occurs in my terminal. In another case I am trying to install in new fresh Laravel 11 project In that project also have errors while installing a filament.
@@Sh1nitsu Problem 1 - openspout/openspout[v4.23.0, ..., v4.24.1] require ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. - filament/filament v3.2.57 requires filament/actions v3.2.57 -> satisfiable by filament/actions[v3.2.57]. - filament/actions v3.2.57 requires openspout/openspout ^4.23 -> satisfiable by openspout/openspout[v4.23.0, v4.23.1, v4.24.0, v4.24.1]. - Root composer.json requires filament/filament 3.2.57 -> satisfiable by filament/filament[v3.2.57]. This error occues in my terminal.
Hi! do you know why the dropdown in the username is not working? nice video btw!
i m not getting the images..while i m trying to fetch it just give ne json return formst.what to do
am wait for more
I've been following your videos about node js and I've found incredible and easy to follow. Thank you very much, keep doing your best. Am from Angola
Thanks for supporting!
why the image are not deleting when i am deleting and update...is there any why to fix this problem
We need to explicitly delete those attachment files as Filament itself won't delete it. Here's how you can delete the files using models. public function delete() { if (!empty($this->image)) { Storage::disk('public')->delete($this->image); } parent::delete(); }
unable to fetch image inside edit and view console error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at localhost:8000/storage/uploads/brands/01J0366MCGD4SMWSJQTPHK6EED.jpg. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Dear Sahil, I would like to express my sincere gratitude for your amazing Laravel course on RUclips. Your lessons have been incredibly helpful and informative. Thanks to your course, I have significantly improved my skills and can confidently work with this framework. Additionally, it would be greatly appreciated if you could add videos to this course covering product attributes, such as TV screen sizes, mobile phone colors, and so on. I'm sure many of us would find this extremely useful. Thank you for your hard work and generous sharing of knowledge!
Yes, I'm planning to develop another ecommerce with more functionalities.
@@DCodeMania Awesome, I'll look forward to your new course
What ai u use brother
GitHub copilot
what is that extension filling up the codes..in models
Github copilot
Hi, I’m from Turkey. Your videos very usefull for me. Thanks for all this thinks. And can you tell me which vscode extensions you use.
For what??
@@DCodeMania For example, for text style and text colorization and autocompletion.
@@DCodeMania Can you tell please 🌹
For auto completion is use GitHub Copilot, and I'm using Tinacious Design theme for text colorization and I'm using Operator Mono font.
@@DCodeMania Thank you soooo much
Can you provide source code
Hello Sir thanks the tutorial but can i use this template for a personnel project?
Yes, you can
in order table migration, the shipping amount you have a typo.
Yes you are correct, I already fix that.
Hello, I want to capture the items in my Page CreateOrder.php or be able to capture the items in an Observer, how could I solve it? I thought that with $order->items it was already there but that is not the case. Create an Observer that captures the created Order and the order only contains the simple attributes: user_id, status, etc. How could I capture the items? OrderObserver.php: public function created(Order $order): void { $items = $order->orderItems; foreach ($items as $item) { $stock = Stock::find($item->stock_id); $stock_update = $stock->stock_quantity_virtual - $item->quantity; $stock->update([ "stock_quantity_virtual" => $stock_update ]); } } But $items is empty... :(
Hello Sir thanks for this tutorial but i have a problem with currency in this part: Placeholder::make('grand_total_placeholder') ->label('Grand Total') ->content(function (Get $get, Set $set) { $total = 0; if (!$repeaters = $get('items')) { return $total; } foreach ($repeaters as $key => $repeater) { $total += $get("items.{$key}.total_amount"); } return Number::currency($total, 'CFA'); it doesn't work. Can you help me please?
What error you are getting??
@@DCodeMania undefined method currency
bug on qty - fix: $cart_items[$existing_item]['quantity'] = $qty + $item['quantity']; and 'total_amount' => $product->price * $qty,
great work overall!! on the same note, everytime a customer access the success page and it messes with payment status, would it be better an observer or something like that? Thanks!
Yes you are right. May be I'll develop 2.0 version with all these functions.
source code
Sir which extension u r using for auto detecting the codes
GitHub copilot
Filament\Support\Services\RelationshipJoiner::prepareQueryForNoConstraints(): Argument #1 ($relationship) must be of type Illuminate\Database\Eloquent\Relations\Relation, null given, called in C:\Users\imran\proje-adi\vendor\filament\forms\src\Components\Select.php on line 773
The source code is missing files an overall good tutorial
Can i have the source code ?
Sir what can I do if I have to do same thing for MySQL . please help
Just uncomment all .env variable related to database and change sqlite to mysql and set database name accordingly and then you are good to go with MySQL
still waiting for password reset..the one i implemented doesnt seem to work
I'll upload very soon!!
hi, why did i cannot fetch the image from database?
Make sure that you already executed this command: php artisan storage:link
@@DCodeMania i did but still not working
Check .env file for APP_URL fix that with port
Thanks a lot. ¿Can you tell me your VsCode extensions that are using for this Laravel Proyect?
I'll upload a separate video about my vs code setup, extension, theme etc.
Hi Sahil, thank you for this great tutorial i appreciate a lot, please what are the VS Code extensions you use for laravel intellisense ?
I'll upload a separate video very soon regarding my vs code setup, extension, theme etc.
please can you provide us the photos to follow you
I just downloaded random product from amazon
@@DCodeMania anyway thanks for everything you have done for us
Github link pls
Contact me on wolfmania44@gmail.com for source codes.
Sir, my image is not showing...I have 'php artisan storage:link' from my terminal and I have changed my port...how to solve this missing image sir, thank you...🙏
Hello, What is functionality of middleware in this code?
Hello, What is functinality of middleware in this code?
sir, i got error, Add [name] to fillable property to allow mass assignment on [App\Models\Category]. how to solve this problem, thanks
Admin, Please add a category before creating a post.
Okay I'll add category field in post.
@@DCodeMania Thank you, Please add category table and add category field in post table
Sir, Why we consider "Address" as a whole entity in this system? Since you have told that "Order hasOne Address" in the code, it can not be either a multi valued attribute of "Order" right? Could you please explain?
Great work! I've got one problem, when in responsive mode only main image appears
You can tweak some tailwind css classes to show all images in responsive view
👍 nice
Can do full authentication using Django ❤
May be in future I'll do this tutorial also.