0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

テックキャンプで学んだProtoSpaceアプリケーションの実装

Posted at

ProtoSpaceとは

ProtoSpaceは、アプリ開発者がプロトタイプについてフィードバックを得られるサービスです。開発者は自身の試作品アプリを共有し、コミュニティからの意見を収集できます。

プロジェクトの実装ステップ

1. 事前準備

  • 開発環境の構築
  • 必要なGemやライブラリのインストール
  • 開発に必要な初期設定

2. ユーザー管理機能の実装

  • Deviseを使用したユーザー認証システム
  • 新規登録、ログイン/ログアウト機能
  • ユーザー情報の管理

3. ビュー構成

主要なビューファイルと役割:

ファイル名 目的
devise/registrations/new.html.erb ユーザー新規登録ページ
devise/sessions/new.html.erb ユーザーログインページ
layouts/application.html.erb 全体のレイアウト
prototypes/new.html.erb プロトタイプ投稿ページ
prototypes/show.html.erb プロトタイプ詳細ページ
users/show.html.erb ユーザー詳細ページ

4. プロトタイプ関連の実装

バリデーション要件

項目 データ型 カラム名 必須
プロトタイプ名称 string title 必須
キャッチコピー text catch_copy 必須
コンセプト text concept 必須
プロトタイプ画像 ActiveStorage image 必須

5. アクセス制御

ログイン制限が必要なページ

  • プロトタイプ新規投稿ページ
  • プロトタイプ編集ページ
  • プロトタイプ削除機能

制限なしのページ

  • トップページ
  • プロトタイプ詳細ページ
  • ユーザー詳細ページ
  • ユーザー新規登録ページ
  • ログインページ

まとめ

このプロジェクトを通じて、Railsでの実践的なウェブアプリケーション開発スキルを学びました。ユーザー認証、アクセス制御、ActiveStorageを使った画像管理など、多くの重要な技術を習得できました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?