Knowledge Sharer Rating: 4.9! With John Ahn Try building your own web app using the TDD method .
Topic Introduction 📝
hello. In this lecture, we will create a Node.js application using test-driven development.
Test-driven development (TDD) is becoming increasingly standard in development. In today's world where more stable applications are required, Because it is a very effective way to reduce debugging time during the development process.
But still, many companies say they don't have time. There are still many places that say they haven't applied the TDD method to their work yet. And when I actually tried to apply TDD, I was not familiar with the new module and the new development method. It seems like there are many cases where people are giving up on the TDD method again.
So in this lecture, we will learn how to easily implement test-driven development. I created a lecture that will help you learn TDD just by following along.
Through this course, you will learn test-driven development. I hope you find it useful, whether in your work or in your personal portfolio!
What you will learn in this course ✏️
Basic structure Node.jsExpress.jsmongoDBMongoose
Test-Driven Development JestSupertestnode-mocks-http
Lecture Features 💡
A characteristic of my lectures is that I always explain using diagrams.
Find all parts of the lecture that can be diagrammed, rather than just diagramming specific parts. I tried to make it easier to understand using diagrams.
And the course is structured in a way that you repeat what you have learned once multiple times. It has the feature of automatic review.
Tools covered here 🧰
I use Visual Studio Code, but you can use any editor you like. I use a MAC but it works on Windows too.
Overall, it was good to be able to understand the flow of unit tests/integration tests for CRUD. However, it would have been better to understand if there had been time to talk about the theoretical working principles of Jest or Supertest in advance. There were some parts that were confusing about how to create mock functions or create req, res mocks and how to virtually test based on db data.
I trusted and purchased it because I had received a lot of help from the free lectures in the past..!! Oh, but I took the teacher's free lecture and created a React website using the game company's open API and distributed it. I didn't use DB and just received API requests, processed them, and rendered them. After distributing it with Vercel, it worked well for a few days, but it stopped working properly because a CORS issue occurred. In this case, do I need to have a backend like nodejs?
Hello, Taewan Kim!
Thank you so much for trusting my lecture and purchasing it!
Could you please ask this question again on the Q&A board?
I've only used Vercel for React Toy projects,
and I've never used it with a server attached, so I think I need to know more about the issue.
If you are starting from scratch and know absolutely nothing, it will probably be very difficult. If you have even a little bit of experience with node.js, MongoDB, jest, etc., I highly recommend it! I took the class so well that I felt the tuition was cheap.
While developing in full stack, I developed by sending requests by pressing on the front side, checking data, and creating an API. While working on the project, I learned about the concept of TDD, and it was good to hear about it~