If you logged in to this blog, you can write a post and add a picture. Also, if you liked other user's post, you can press the like button on that page.
概要
このブログアプリは、ログインとログアウトができ、投稿や一枚の写真の貼り付けと良いね機能が備わっています。
- What I used to make this
Heroku deployment/SQL/Ruby/Ruby on Rails/HTML/Scss
開発環境は、Heroku//SQL/Ruby/Ruby on Rails/HTML/Scssを使用しました。
My name is Christine and I am bigginer who goes to programming school.
First of all, I did not made this app from scratch.
I added and chenged several functions from the school carriculum.
- Down below are what I added from the curriculum app.
Like button / Background picture(Photo by me) / Posted date / Color and arrengement - Please go check the down below link to see the app.
https://chrblog.herokuapp.com/
制作背景
次のステップアップをする為に、まず簡単なことから始めようと考え、こっちらのブログを作成しました。
こちらはプログラミングスクールのカリキュラムで作成したブログアプリに新たな機能をつけて変化させたものです。
追加機能としては、良いね機能・写真を投稿する機能・背景を自分が撮影したものに変更・見た目や名前の変更などです。
またさらに機能を追加したいと考えており、良いね機能の自動化や写真の複数枚投稿とコメント機能を追加できたらなと考えております。
- 下記のurlを押していただくとブログアプリに飛ぶことができます。
https://chrblog.herokuapp.com/
Column | Type | Option |
---|---|---|
title | string | null: false, unique: true |
content | string | null: false |
image | string | null: false |
- has_many :posts
- has_many :likes
Column | Type | Option |
---|---|---|
string | null: false, unique: true | |
password | string | null: false |
nickname | string | null: false |
- belongs_to :user
- has_many :likes, dependent: destroy
Column | Type | Option |
---|---|---|
user_id | integer | null |
post_id | integer | null |
- belongs_to :user
- belongs_to :post
Column | Type | Option |
---|---|---|
image_url | text | null: false |
post_id | references | null: false foreign_key: true |
- belongs_to :post, dependent: destroy