poyichou / social_media_rails

social media-like web app in ruby on rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

a social media like web app

function:

User can sign up, login, change password, delete his account, show his posts, post articles, delete his posts

model: User and Post

User

name:string
email:string
password:string

has_many :posts

Post

date:date
content:string

belong_to :user

Before using

bundle install
bin/rails db:migrate

To run

bin/rails s
# open your browser and connect to localhost:3000

About

social media-like web app in ruby on rails

License:MIT License


Languages

Language:Ruby 76.4%Language:HTML 18.3%Language:JavaScript 2.8%Language:CSS 2.1%Language:CoffeeScript 0.5%