강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Front-end

Next + React Query で SNS サービスを作成する

React19 & Next15 & ReactQuery5 & Next Auth5 & MSW2 & socket.io4 & zustand 스택을 사용하여 Twitter(X.com)와 유사한 SNS 서비스를 만들어보겠습니다. 마지막으로 검색 엔진 최적화를 위한 SSR까지!

  • zerocho
실습 중심
next.js
react
트위터
클론코딩
ssr
Next.js
React
react-query
next-auth
msw

学習した受講者のレビュー

こんなことが学べます

  • React 開発

  • React + TypeScript

  • React Query

  • Next.js アプリ ルーター

  • SSR & SEO

  • MSW

  • Next Auth

  • リアルタイム Web ソケット チャット

  • 状態

  • AWS 配布

イロンマスクのx.com以外
ゼロ秒のz.comを作ろう!

累積4400人が聴いたの講座の最新バージョン!

Next 14コースはNext 15に更新されました!

  • Twitterが名前をX.comに変更し、私もノードバードからJet.comに変更しました。

  • ネクストモールシャーにもなります。この講義でお知らせします。リアクトは知っておく必要があります。

  • Next.js App Routerをデフォルトとして使用します。 (以前のノードバード講座はNext Page Routerでした)

  • この王様バージョンを上げたキムにReact Query 5、Next Auth 5、MSW 2でライブラリバージョンも全て最新化しました。

  • Server ActionのようなNext 14の機能は当然です。

  • React Queryでインフィニットスクロール、データキャッシュ、オプティミスティックアップデート、ロールバックなどを実装します。

  • Webソケット+ react-queryでリアルタイムチャットを実装します。

  • ZustandでContext APIを置き換えます。

  • 実務と同じプロセスで講義が流れます(企画者が企画を終えたとき - >バックエンド開発者がまだAPIを作成していないとき - >バックエンド開発者がAPIを完成したとき)

このような結果を作ることができます🙋‍♀

モーダル浮きながらアドレスを変えるのはどうしますか?

パララックルート、インターセプトルートなど最新のルータ機能を試してみましょう。

クオリティ高く追いましょう!

x.comの主な機能とルートをほぼそのままに!

スクロールの高さに注目!

データを無限にインポートするインフィニットスクロール方法を学びます。

ハートの反応速度を見てください!

サーバーにデータを転送しながら即時応答を実装するためのオプティミスティックアップデート!

  • 企画書を見てフォルダ構造をとることができるようになります。

  • バックエンド開発者がいなくてもAPI開発を進めることができます。

  • APIベースでデータを効率的に管理できるようになります。

  • 自分でフロントサーバーを展開する準備ができます。

  • リアルタイムチャットを実装できるようになります。

学習内容📚

そんなフォルダの役割が気になりますか?

Next App Routerを活用する

Next App Routerにはさまざまな不思議なフォルダがたくさん追加されました()フォルダ@フォルダ、(。)フォルダ、(..)フォルダ、(...)フォルダ、[]フォルダ、_フォルダ...

フォルダ構造だけを整理しても、ルーティングを簡単に行うことができます。一緒に学びましょう。

MSWで偽のAPIサーバーを作成する

バックエンド開発者はまだAPIを作成していませんか?それでどんどんスケジュールが後ろに押されると?それでも指だけを吸ってはいけません! MSWで偽のAPIサーバを作ってフロント先に開発しましょう。かわいい猫たちと一緒に!

かわいい猫😺ダミーデータと一緒に開発!

APIはもちろんドキュメントまで全て用意しておきました!

準備されたバックエンドでサービスを実装する

MSWで一生懸命開発し、バックエンド開発者がAPIを完成したというニュースが聞こえますね!それでは、実際のAPIを使ってフロントを開発しましょう。

バックエンドは私がすべて準備しました。ただフロントから呼び出して使ってください!バックエンドのデータはReact Queryにインポートしてキャッシュもしてみて、インフィニットスクロール、オプティミスティックアップデートもしましょう。

SSR経由で展開を準備する

z.nodebird.comに私が事前に配布しておきました。皆さんもSSRを通じてSEOを取り揃えて、フロントページをSNS共有してもよく出るようにしてみてください。

Katokにもよく共有されています

イロンマスクとリアルタイムチャット!

ボーナス:リアルタイムチャットまで

リアルタイムチャットを実装しながら、Webソケットとリバースインフィニットスクロールを学びましょう〜

ウェブソケット技術は一度身につけておけばチャットだけでなく様々なところで活用できますよ(リアルタイムリフレッシュとか…ノティフィケーションとか…)

受講前の注意事項📢

練習環境

  • オペレーティングシステムとバージョン(OS):Windows 11

  • 使用ツール: Node.js 22, Next 15


選手の知識と注意事項

  • HTML/CSS/JS/Reactに関する基本的な知識が必要です。

  • 講義に必要なタイプスクリプトは講義内でお知らせします。


  • 質問は24時間以内に回答いたします。

  • 講義内容をブログにまとめるのは大丈夫ですが、必ず出所を残してください。

こんな方に
おすすめです

学習対象は
誰でしょう?

  • React フレームワークを使用して Web サービスを完成させたい方

  • フロントエンドの現役開発者、志望者、就職準備生

  • Next App Router を積極的に使用してみたい方

  • サーバーのデータを React Query で管理したい方

  • SSR、SEOまで全部챙ぎたい方

前提知識、
必要でしょうか?

  • HTML、CSS の知識

  • JavaScript ES2022までの知識

  • React の基礎知識 (ゼロチョの React 無料講座をご覧ください)

  • TypeScript (講義内で説明します)

こんにちは
です。

65,527

受講生

1,602

受講レビュー

9,702

回答

4.8

講座評価

22

講座

제 강의의 장점은 Q&A입니다(인프런 답변왕 2회 수상). 24시간 이내에 최대한 답변드립니다! 같이 고민한다는 느낌으로 답변 드릴게요!

One of the key strengths of my courses is the Q&A support. (Winner of the Inflearn Q&A King award twice) I respond to your questions within 24 hours, doing my best to help you out! You’ll feel like we’re solving the problems together.

👉ZeroCho Lectures
제로초 강의 전체 로드맵. A complete roadmap of all my courses is available here.

– Node.js교과서, 코딩자율학습 제로초의 자바스크립트, Let's Get IT 자바스크립트, 타입스크립트 교과서 저자 
ZeroCho.com 운영자
– 현) 유튜브에서 ZeroCho TV로 개발 관련 방송중 
– 현) 스모어톡 CTO 
– 전) 오늘의픽업 CTO(카카오모빌리티에 엑싯 후 카카오모빌리티 최연소 개발파트장)

  • Author of Node.js Textbook, Self-Guided JavaScript by ZeroCho, Let's Get IT JavaScript, and TypeScript Textbook

  • Operator of ZeroCho.com

  • Currently running a YouTube channel ZeroCho TV, covering development topics

  • CTO at SmoreTalk

  • Former CTO at Today Pickup (acquired by Kakao Mobility, where I became the youngest lead developer)

カリキュラム

全体

81件 ∙ (14時間 28分)

講座資料(こうぎしりょう):

授業資料
講座掲載日: 
最終更新日: 

受講レビュー

全体

111件

4.5

111件の受講レビュー

  • justfix0109464님의 프로필 이미지
    justfix0109464

    受講レビュー 14

    平均評価 5.0

    5

    34% 受講後に作成

    I'm still in the first half of the class, but I'm satisfied. However, it's good except that it's confusing because there are many parts where you say "this, this, this, this, this" during the lecture. (When you say "this isn't here, so here", I have to look at the mouse cursor) It would be better if you could say it accurately, saying "modal" if it's a modal, and "button" if it's a button. Maybe because it's live, there are too many expressions like "this is here", "this comes up like this".. Personally, I changed the direction from taking the class by following along to just watching and trying to understand the flow, and it's fine.

    • zerocho
      知識共有者

      First of all, I apologize for any inconvenience you may have experienced while following along. However, this lecture is not designed for blindly following along (as I explained in the video on the pros and cons of cloning). If I had, the lecture time would have been over 30 hours because I would have shown you all the codes one by one. The trick to taking this lecture is to try cloning yourself first and use the code in this lecture as an answer sheet. Or, you can just watch the lecture first and then try to create your own based on what you learned. The purpose of this lecture is to enable you to create a site like x.com without following the code.

    • Thank you. I learned a good way to study.

  • noo9ya5923님의 프로필 이미지
    noo9ya5923

    受講レビュー 1

    平均評価 3.0

    3

    69% 受講後に作成

    I think the content that introduces new technologies and proceeds with clone coding is good. However, as time has passed, there have been many errors due to incorrect package versions or changes in usage, so the time spent directly modifying the official documentation has increased significantly more than the time spent watching the lecture. (Lecture 1, Official Document 9 = I'm confused whether I'm watching the lecture or hearing an alarm telling me to go to the official website) It feels more like watching a demonstration of X clone coding than a lecture. I wish they had mainly explained how the package is used, what its advantages are, the life cycle of the nextjs framework, advantages, disadvantages, and recommended file structure design. I felt that the explanation was lacking because they mainly showed coding, so I was sometimes shocked. It would have been nice if you had focused more on the correct methodology, structural design, optimization, etc. through clone coding, but instead, you were told to study more by looking at the official documentation, so you ended up looking at the official documentation a lot and gaining knowledge that wasn't covered in the lecture, which seems good. If you published the lecture for this purpose, it seems like you succeeded, but it's a lecture that leaves a lot of regret because it seems like the purpose of taking the lecture to make it easier to understand has disappeared. In the next lecture, I hope you will provide a lecture centered on examples that are appropriate for the situation, with prepared code, unified naming conventions, and various file structures used in practice. Then, I will use the source code on GitHub to solve errors that aren't covered in the lecture and study them step by step in the official documentation to solve them. I hope this feedback was helpful, even if it was a little, to Zerocho, who always strives to create good lectures.

    • zerocho
      知識共有者

      Thank you for the great feedback. From now on, I will focus on practical structural design and the pros and cons of the package!

  • dongry님의 프로필 이미지
    dongry

    受講レビュー 3

    平均評価 5.0

    5

    60% 受講後に作成

    const quote = I won't make the same mistake again~

    • minsukweb0331님의 프로필 이미지
      minsukweb0331

      受講レビュー 1

      平均評価 5.0

      5

      68% 受講後に作成

      This is a lecture by Zerocho that I trust and watch! I tried to study Next and looked at the official documentation, but I couldn't read it well, so I think it's faster to watch all the lectures and then look at the official documentation. Usually, I watch all the lectures and then study the core functions, and then I remember only the keywords of the functions in the official documentation. If I need a function while working, I look it up in the official documentation and apply it. The lecture time is not long and it's well-divided, so it's good to watch it on the subway or when I have free time, and it's also very convenient to look it up again when I don't understand something. I used to use React-query only as a function that I used to use, but I think I've been using it better after listening to the explanation this time!! I also used Zustand for the first time this time and learned about MSW and various libraries as a bonus. I'm so grateful that you've consistently uploaded good quality supplementary contents such as distribution and web socket that are good to know in the field. Please keep up the good work and continue to be active! ㅎㅎ

      • zimablue14님의 프로필 이미지
        zimablue14

        受講レビュー 14

        平均評価 4.4

        3

        54% 受講後に作成

        There is definitely a lot of helpful content, but it feels difficult to learn. It's a shame that it seems to focus more on the convenience of the teacher than the student.

        ¥8,200

        zerochoの他の講座

        知識共有者の他の講座を見てみましょう!

        似ている講座

        同じ分野の他の講座を見てみましょう!