Please never stop sharing your knowledge. I appreciate it so much.
@Dino-qz9bt
Жыл бұрын
Watched the whole thing, thank you! Please make the following video about CI/CD & e2e testing deployment set up PLEASE 🙏
@Shemang
3 ай бұрын
Thanks
@azuki-nft
3 ай бұрын
I learnt so much 1 hour and 22 mins into this video. been on it for two days, trying and failing on my own. so many concepts were picked and nice tooling ✌🏽
@kevinwwwade
3 ай бұрын
I love to hear it. 😍 So happy it was helpful to you!
@Shemang
3 ай бұрын
this is likely the most useful video on YT. thanks for this setup
@kevinwwwade
3 ай бұрын
Wow, thank you so much 🙏
@nihilidron
Жыл бұрын
Amazing tutorial, as a FE developer I always feared BE black magic. But thanks to this its now much more comprehensible. Thanks.
@FilipeFreire
Жыл бұрын
Thank you for taking the time to make this! Note: You can also set node versions through PNPM :) ex: pnpm env use --global lts
@meshakbain1094
Жыл бұрын
Thanks Kevin, loving the videos :)
@elsonjunior2112
5 ай бұрын
Amazing tutorial.
@user-uw3ss9eq1v
Жыл бұрын
Very useful tutorial!!
@bejaysus23
Жыл бұрын
Really enjoyed this tutorial and learned a lot from it. Thank you for taking the time to make it! In fact, your whole channel is a one stop shop for all relevant tutorials on the latest tech. Also you look like Rob McElhenney 😁
@kevinwwwade
Жыл бұрын
That’s the first comparison I’ve gotten to him-I’ll take it!! 😁
@dasezo
Жыл бұрын
Really enjoyable workflow, hope you give us a good content like this every week
@kevinwwwade
10 ай бұрын
Awesome, thank you so much!
@apz7604
Жыл бұрын
Thank you so much for this precious tutorial 💠🚀 At 1:53:30 you ran the db:console package.json's script. In this script you changed "localhost" to "postgres" in the video but you forgot to correct it on your blog post. "Remember to correct that in the blog post... 🤝"
@ghassanclassic7689
Жыл бұрын
Great video. I love to see best server boilerplate with auth, handling errors, validation and socket io
@jonathanviray6258
Жыл бұрын
Thanks for these! Did your 2022 version last year. Btw would you be able to do a more detailed video on debugging tools?
@pablotexeira7579
Жыл бұрын
can't thank you enough, amazing job!!!
@kevinwwwade
10 ай бұрын
😍
@ThomasPoth
5 ай бұрын
Danke!
@kevinwwwade
5 ай бұрын
Omg 😍 This is my very first super thanks and you have officially pushed me over the threshold to getting my very first payout from KZitem. Thank you very much for your kindness!
@ThomasPoth
4 ай бұрын
@kevinwwwade You are welcome. It's not the world, but it should be a little recognition for your achievement. There's a lot of work behind it. Thank you!
@deepak5074
19 күн бұрын
We want 2024 Setup 🚀
@kevinwwwade
19 күн бұрын
It’s coming. I’m pretty stoked about it. 😍
@kevinwwwade
2 күн бұрын
It’s live! I took a different approach this year. What do you think? kzitem.info/news/bejne/sqqOvnyufmSSmKA
@deepak5074
2 күн бұрын
@@kevinwwwade LFG 🔥
@deepak5074
2 күн бұрын
@@kevinwwwade Why are you not using Biome this time and I have my backend setup exactly like you taught in previous video. Overall thanks kevin. Appreciate for your afford and time, Keep sharing your knowledge bro.
@Munsinan
Жыл бұрын
Amazing tutorial❤❤
@kevinwwwade
Жыл бұрын
Thank you! Cheers!
@user-cd7ym1tt6s
10 ай бұрын
Its really very good althought its the best setup as far as i know, if by next year you could make it work with modules instead of common js it would be really awesome
@nirgluzman1343
2 ай бұрын
Great video ! Have you check swc --watch ->> automatically recompile files on changes. The issue I have that this flag does not work in Docker container; it works fine when executing on local machine.
@ArturChm96
7 ай бұрын
I had one problem during development with docker. Any command which used docker compose run instead docker compose exec always created new docker container (e.g. to make migration or open postgres console). Afer few days of development my docker desktop app warned me about not enough space to create more containers. Also my databse staretd doing weird stuff what was related to problem with dozen number of not need containers and missing space. Ofc I can delete not needed containers manualy but using exec command do not create a new container and I don't see difference between using exec and run so my question why you used run in your video? I have no idea if you gonna answer me cuz this video is already old but finger crossed BTW. Greate video :)
@jerzyhaa
7 ай бұрын
I'm also watching this movie late and I also have a question, or rather doubt. In the docker compose file, you map the local folder with the code to the app folder in the container: volumes: - .:/usr/src/app In turn, in Dockerfile you copy the same directory: WORKDIR /usr/src/app COPY . . Isn't this an error? The /usr/src/app directory is mapped to our local application directory on the host.
@berto.bell7
2 ай бұрын
This is a great video. I'm seeing this error, is this a docker error or a typescript error? ✔ Container node-stack-backend-1 Created 0.0s Attaching to backend-1 backend-1 | backend-1 | > node-stack@1.0.0 start:docker /usr/src/app backend-1 | > pnpm build && pnpm start backend-1 | backend-1 | backend-1 | > node-stack@1.0.0 build /usr/src/app backend-1 | > rimraf dist && swc ./src -d dist backend-1 | backend-1 | sh: 1: swc: not found backend-1 | ELIFECYCLE Command failed. backend-1 | ELIFECYCLE Command failed with exit code 1. backend-1 exited with code 1
@wolffvel8038
Жыл бұрын
Hey Kevin, I've following these steps and the only way I can see my file changes reflected is by deleting the image and rebuilding it. What can be causing this?
@ThomasPoth
5 ай бұрын
@kevinwwwade Thank you for this amazing work. I'm now at 30:00 and setup eslint and prettier. If i save my file no formatting happens. Do i need to make any tweaks in a fresh vscode setup? Thx for any feedback
@ThomasPoth
5 ай бұрын
To work around i've set the following in my /.vscode/settings.json "editor.formatOnPaste": true, "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode",
@kevinwwwade
5 ай бұрын
Yes, good catch. I happen to have format on save set to true in my global vscode config, which is my personal preference and what I’d recommend to most people.
@shadev23
Жыл бұрын
Great video, but one question. It is a good practice to copy the .git repository ????
@satindersingh780
8 ай бұрын
29:33 not wokring for me.
@shanekeney3646
Жыл бұрын
What’s the difference between Volta and NVM?
@kevinwwwade
Жыл бұрын
Volta is faster than NVM, switches versions more seamlessly between projects, and as an added bonus also works on Windows. Having used both for some time, Volta just “feels” better too. I’ve never had an issue with it.
@Battousai90levrai
6 ай бұрын
Thanks a lot for this video Kevin. From my side when i'm launching the build a src folder is created in dist folder and get an error because index.js is in src and not in dist. To resolve install @swc-node/register > pnpm add --save-dev @swc/cli @swc/core @swc-node/register rimraf Edting Start in script to : "start": "node -r '@swc-node/register' --watch --enable-source-maps src/index.ts"
@ThomasPoth
5 ай бұрын
For me, i put --strip-leading-paths at the ende of the build script. So i doesn't need to install an addition package. Hiere's my complete line for build: "build": "rimraf dist && swc src -d dist --strip-leading-paths",
@liuyan8066
Жыл бұрын
Hi Kevin, thank you for your teaching! I followed this tutorial, got an error in the database seed script at 2:04:25. I compared the code from yours, no difference, but I don't where is my mistake? Could you give me some suggestion? My error is ``` $ pnpm seed:dev > docker compose run backend pnpm ts-node scripts/seed/dev.ts [+] Running 1/0 - Container docker-node-pg-postgres-1 Running 0.0s prisma:info Starting a postgresql pool with 5 connections. prisma:query BEGIN prisma:query INSERT INTO "public"."posts" ("updatedAt","createdAt","title","id","publishedAt","slug") VALUES ($1,$2,$3,$4,$5,$6), ($7,$8,$9,$10,DEFAULT,$11) prisma:query ROLLBACK prisma:error Invalid `db.post.createMany()` invocation in /usr/src/app/scripts/seed/dev.ts:4:17 1 import db, { genId } from '../../src/modules/db'; 2 3 const run = async () => { → 4 await db.post.createMany( The table `public.posts` does not exist in the current database. PrismaClientKnownRequestError: Invalid `db.post.createMany()` invocation in /usr/src/app/scripts/seed/dev.ts:4:17 ..... ```
@kevinwwwade
Жыл бұрын
Hi there, thanks for watching! A “table does not exist” error would happen if the database migrations haven’t been run. Try a `pnpm docker:db:migrate` and that should do the trick.
@liuyan8066
Жыл бұрын
@@kevinwwwade YES!!!! It works!!! I was looking for this solution whole afternoon... and then courage to ask you in case I made some silly typo. Thank you sooooo much! I will continue to start you formhub tutorial, I like your teaching style. THANK YOU
@Viking71345
11 ай бұрын
Please never stop sharing your knowledge. I appreciate it so much.
@ArturChm96
7 ай бұрын
I had one problem during development with docker. Any command which used docker compose run instead docker compose exec always created new docker container (e.g. to make migration or open postgres console). Afer few days of development my docker desktop app warned me about not enough space to create more containers. Also my databse staretd doing weird stuff what was related to problem with dozen number of not need containers and missing space. Ofc I can delete not needed containers manualy but using exec command do not create a new container and I don't see difference between using exec and run so my question why you used run in your video? I have no idea if you gonna answer me cuz this video is already old but finger crossed
@kevinwwwade
7 ай бұрын
I have run (pun) into this same issue myself with containers hanging around and then running out of space. I’ve solved this in subsequent work by using the -rm flag with docker run to automatically remove the container after it runs. Thanks for the catch here! I’m going to make a note of this in a future video. It’s a good question: exec or run? I chose run because I think it’s more technically correct. It doesn’t need to be executed in the currently running process-it can be an ephemeral container. But honestly, either would be fine.
Пікірлер: 54