Giter Site home page Giter Site logo

nextblogapp-ver1's Issues

ログイン・ログアウト機能の実装

  • ログインフォームを作成
  • Recoilとrecoil-persistをインストールし、ログインユーザーの情報を保持するストアを作成
  • ログイン処理を実装
  • ログアウト処理を実装
  • サーバー側とフロントエンド側のUIの差異を修正
  • ユーザー登録時にログイン処理も実装
  • ログイン時にユーザー登録フォームとログインフォームに遷移しようとしたらトップページにリダイレクトするよう実装

記事一覧表示機能の実装

  • getServerSidePropsを実装し、全記事を返すAPIを呼び出し
  • 個々の記事を表示するPostItemコンポーネントを実装

ユーザー登録機能の実装

  • React Hook Formをインストールし、ユーザー登録フォームを作成
  • axiosをインストールし、ユーザー登録処理を実装

記事投稿機能の実装

  • 記事投稿フォームを作成し、記事投稿フォームに遷移するリンクを作成
  • 記事投稿処理を実装
  • 未ログイン時に記事投稿フォームに遷移しようとしたらログインフォームにリダイレクトするよう実装

記事詳細表示機能の実装

  • 記事の内容を表示するページと、そのページに遷移するリンクを実装
  • getServerSidePropsを実装し、該当の記事を返すAPIを呼び出し内容を表示

記事更新機能の実装

  • 記事更新フォームを作成し、記事更新フォームに遷移するリンクを作成
  • getServerSidePropsを実装し、記事更新処理を実装
  • 未ログイン時や、ログインユーザーが該当の記事の著者ではない場合、記事更新フォームに遷移しようとしたらトップページへリダイレクトするよう実装
  • サーバー側とフロントエンド側のUIの差異を修正

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.