I Made a Laravel Authentication With ChatGPT and Reviewed it
This video will show you how I used ChatGPT to generate a Laravel Sanctum API Authentication. After creating the code, I decided not to make any changes. I recently created a Laravel Sanctum API Authentication tutorial where I created an authentication using Laravel Sanctum. After I generated the ChatGPT code, I decided to do a side-by-side comparison to see the difference.
I have made this tutorial to show young developers that you shouldn’t blindly copy-paste code from ChatGPT, especially not when it comes to security. Once you watch the video, you will see that ChatGPT generates ‘ok’ code, but there are a lot of flaws. Here is my short summary:
- ✅ Good for explanations for a specific topic
- ✅ Good to check if you have missed a configuration step
- ✅ Good if you know what needs to happen so you could make changes to the code
- ❌ Bad for authentication because validation is incomplete
- ❌ Bad if you are an inexperienced developer that does not know
7 views
44
6
3 months ago 00:19:24 1
Потерянные | 1 серия | Sims Machinima | 16+
3 months ago 00:00:56 1
КАК Я СДЕЛАЛА СТОЛ СВОИМИ РУКАМИ #diy #homemade #homedecor #ремонт #перекраскамебели #diycrafts
3 months ago 00:08:03 1
ВЕЧНЫЙ КАПЕЛЬНЫЙ ПОЛИВ СВОИМИ РУКАМИ. ОБЗОР НА КАПЕЛЬНЫЙ ПОЛИВ ДЛЯ ТЕПЛИЦЫ.
3 months ago 01:15:02 1
Ломоносов. Просто гений | Курс Владимира Мединского
3 months ago 00:25:46 1
МОНТЕССОРИ Мобили своими руками. ИГРУШКИ для малыша 0-3 месяца и 3-6 месяцев
3 months ago 00:04:12 1
In Hearts Wake - Farewell (Official Music Video)
3 months ago 00:18:05 1
Anakin Skywalker | VADER
3 months ago 00:14:32 1
Making Wood chipper mechanism [PLANS]
3 months ago 00:08:01 1
Led Zeppelin - Stairway To Heaven (Live with LOTR ver. 2)
3 months ago 00:11:51 1
ДОРОЖКА ЖЕНСКИМИ РУКАМИ ИЗ ПРИРОДНОГО КАМНЯ / ОТМОСТКА ИЗ КАМНЯ СВОИМИ РУКАМИ
3 months ago 00:24:53 1
Aphex Twin (Piano Songs Only)
3 months ago 00:03:55 1
Revenge 2
3 months ago 00:13:59 1
но почему иногда хочется снова поиграть в майнкрафт?
3 months ago 00:00:25 1
Это Кажется Дорогим, Но На Самом Деле Стоит Того #апвоут #реддит #тучныйжаб
3 months ago 00:03:38 1
Go Go Squid 2 Wu Bai & Ai Qing Mv
3 months ago 00:29:00 1
3d Sculpting Tutorial New
3 months ago 00:48:26 1
Вязаная игрушка крючком, амигуруми. Мастер-класс для начинающих. Как связать цыпленка своими руками.
3 months ago 00:18:33 1
100% Handmade bunny made from toilet paper, foil and glue/ DIY Easter Bunny/Craft idea/Easter crafts
3 months ago 00:00:36 1
Taking What’s Not Yours (Animation)
3 months ago 00:08:05 1
ENGLISH SPEECH | MARTIN LUTHER KING JR.: I Have a Dream! (English Subtitles)
3 months ago 00:07:19 1
Объемная аппликация из бумаги ракета в космосе своими руками / РАКЕТА ОРИГАМИ / День Космонавтики
3 months ago 01:02:14 1
Mabisyo - Hentai Jazz Deluxe
3 months ago 00:04:13 1
Paul McCartney - Only Love Remains (Official Music Video, Remastered)