Test React and Auth service communication: Building a microservices-based NodeJS and React app #064

preview_player
Показать описание
Link to all courses with BIG DISCOUNTS 🤯 :

Do you want to bring your dev skills to the next level? Then check out the links with BIG DISCOUNTS to my courses on Udemy! Purchasing the courses is a great way to support this channel and the content I produce, while also getting something amazing in return, so head there right now! I am looking forward to seeing you there and receiving your feedback on the course!

The courses also have a 30-day money-back guarantee, so if you are not satisfied with the purchase, you can ask for a refund, no questions asked.

***

Hello everyone! In this video, we perform a quick manual check to test the communication between the web-client and the authentication service. There are no changes to be committed, so don't forget to reset your repository after following along with the video :)

This video is part of a series where we are developing a microservices-based social media application with the main focus on learning the microservices pattern. We are using NodeJS for our backend services, and React for our frontend client.

─ 🎬 VIDEO CHAPTERS AND CONTENT ─
0:00 Introduction
0:52 Agenda for the video
1:25 Install axios and cors packages
2:21 Add the cors middleware to the auth package
3:57 Quick test with Postman
5:33 Implement mock sign up requests in the web client
15:41 Closing of the video :)

─ 🖥 CODE SNIPPETS ─
❯❯ Install cors in the auth package: npm install cors
❯❯ Install cors types: npm install --save-dev @types/cors
❯❯ Install axios in the web client package: npm install axios

─ 🎥 OTHER PLAYLISTS IN THE CHANNEL ─

─ 🌎 ADDITIONAL LINKS ─

─ 📬 SUBSCRIBE TO THE CHANNEL ─
Want to become a better, more skilled developer? Then make sure to subscribe to the channel and keep on challenging yourself with the new concepts we discuss in every video :) I have a lot of ideas for playlists, ranging from an introduction to Typescript to a deep dive on more complex technologies such as Apache Kafka!

─ 🔈 CONTRIBUTE! ─
If there is any topic in development that interests you, make sure to write it down in the comments! I will take into consideration all your suggestions and requests, as well as the popularity of each of them, when deciding which series to record in the future :)
Рекомендации по теме
visit shbcf.ru