Coder Social home page Coder Social logo

mini_image_app's Introduction

README

アプリ名

mini_image_app

説明

画像投稿する際に、プレビューしてからの添付、画像の複数枚投稿ができます。

ER図

erd.pdf

テーブル設計

messages テーブル

Column Type Options
content string null: false
  • has_many_attached :images
  • 画像アップロードに、active_storageを使用。


使用しているバージョン等

  • ruby 2.6.5
  • Rails 6.0.3.4
  • MySQL


その他使用しているgem・使うコマンド

<!-- brakeman(脆弱性に繋がるコードがないか確認するため ※全てのファイル・全ての警告オプション) -->
% bundle exec brakeman -A -w1

<!-- rails_best_practices(読みやすいコードか確認するため) -->
% rails_best_practices .

<!-- rubocop(インデントを整えるため) -->
% bundle exec rubocop -a

mini_image_app's People

Contributors

k-foo avatar

mini_image_app's Issues

Issue2【複数枚画像投稿機能の実装】

概要

  • 複数枚投稿できるようサーバーサイドを実装する。(アソシエーション・テキストフォームのname属性・ストロングパラメーター・ビューファイルの編集)
  • JavaScriptを編集する。(要素の追加・イベント発火の編集)

Issue1【プレビュー機能の実装】

概要

  • プレビュー機能を行うためのJavaScriptファイルの作成・読み込み設定をする。
  • プレビューするために画像情報取得の実装をする。
  • 取得した情報を元に「HTMLの要素」をJavaScript側で生成する実装を行う。

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.