Giter VIP home page Giter VIP logo

wdinstagram_rails's Introduction

WDInstagram

In this repository, there is a brand new rails application. It has no code in it except for the things that are generated with rails new.

Prompt

Today you're going to make your own version of Instagram (or something very close to it!). Your photo feed app will have full CRUD capability and operate on a single Entry model.

An Entry has the following:

  • author
  • photo_url
  • date_taken

just use a string to represent the date as well.

Your app should have the following RESTful actions:

  • index (displays all entries)
  • show (displays a specific entry)
  • new (displays a form to create a new entry)
  • create (saves a new entry it to the database)
  • edit (displays a form for editing a particular entry)
  • update (takes input from the edit form and updates the entry in the db appropriately)
  • destroy (deletes a specific entry from the database)

Instructions

  1. Write 5 user stories for your app.
  • Keep it simple and think about what functionality your MVP needs.
  1. Build ERD
  2. Write the app. (If you need more instructions, reference tunr or lesson plans on rails )

Bonus

  1. Add a column for caption to your Entry, which is a text description of the shot. You'll need to generate a database migration for this and then update the rest of your app to be able to display these captions.
  2. Instead of using a string for a date, try using a ruby DateTime Object
  3. Add a second "Comments" model to your app so that users may leave comments on each of your Entries.
  4. Give your Comments model full CRUD capability.

Super bonus

  1. Create the ability to make a new entry using a random GIF from the Giphy API

wdinstagram_rails's People

Contributors

andrewsunglaekim avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wdinstagram_rails's Issues

Instagram Rails

comfort 3
completeness 3

https://github.com/M00staff/wdinstagramrails

Not sure if i uploaded it to my repo correctly - just cloned the new repo to my hard drive and added all the files and added/committed/pushed. Had to timebox this before i could finish - had issues seeding the DB and displaying the pages - although i do get the general idea of the whole Sinatra to Rails thing.

rails/user stories

comfort: 4
completeness: 4.5

I'm pretty sure my code is written correctly, but for some reason some of the pages are giving me strange errors.

https://github.com/nayana487/rails_intro

user stories for blog

As a user, I would like to see a listing of all posts.
As a user, I would like to see an individual post.
As a user, I would like to create a post.
As a user, I would like to delete a post.
As a user, I would like to edit a post.

Melissa - WDInstagram_rails + user stories

Comfort: 4/5
Completeness: 5/5

Link: https://github.com/msteffan/WDInsta_rails/tree/hw-solution/WDInstagram
(^^ it's in the hw-solution branch, not master)

Blog User Stories:
As a user, I want to see a feed of post snippets + headlines/titles on a homepage.
As a user, I want to be able to click on a blog post to view more and see the entire post.
As a user, I want to be able to leave a comment on another author's post.
As a user, I want to be able to create a new post.
As a user, I want to be able to update an old post.
As a user, I want to be able to delete a post that I no longer want to appear on the blog.

WDInstagram on Rails: Electrified Boogaloo

https://github.com/jkoul/WDInstgram_on_rails

Comfort: 5
Completeness: 5

Site works as expected for all CRUD functionality, though it ain't pretty (per Andy, "don't worry about that yet")

User stories for blog:
-As a user, I want the site to load effectively.
-As a user, I want to be able to create new posts.
-As a user, I want to be able to update posts.
-As a user, I want to see the time at which posts were posted.
-As a user, I want to be able to delete posts.

Port WDInstagram to Rails

https://github.com/puzzleboks/WDInstagram_to_Rails

comfort: 4
Doing a lot of cutting and pasting of code that I'm not really sure I understand.
completeness: 4
Had some issues with a ForbiddenAttributes error, and a InvalidAuthenticityToken error.

Scribble User Stories:

As a user I should be able to...

  1. View all posts
  2. Read any individual post
  3. Write a new blog post
  4. Delete certain blog posts
  5. Comment on any blog post
  6. Update an old post
  7. Log in as a user

WDInstgram_rails hw

https://github.com/adrianshep/WDInstagram_to_rails.git

comfort level = 3.5
completeness = 4

lots of copying, editing and pasting. understanding better what's going on, but not all the way there yet.

Scribble User Stories:

  1. As someone with a desire to communicate my thoughts and feelings to a broad audience, I want to have the ability to write and post them onto my own page on the web.

  2. As a someone interested in interacting with other bloggers, i want the ability to comment on their posts.

  3. As someone who changes his views on previously posted about matters, i want to be able to edit and change previous posts.

Erica Andersen's WDInstagram Rails Homework

WDInstagram Rails Repo: https://github.com/andersenek/wdinstagram-repo
  • Comfort: 4.5/5
  • Completeness: 5/5
Scribble User Stories:

Scribble is a week-long Ruby on Rails writing application where Users can read, write, and interact with the best content all around the world.

  • As a user, I would like to be able to see a paginated view of all posts.
  • As a user, I would like to be able to see a view of one post.
  • As a user, I would like to be able to comment on posts.
  • As a user, I would like to be able to 'like' or 'up-vote' a post that I like.
  • As a user, I would like to be able to submit my own post.

WDInstagram Rails HW

Comfort level: 4/5
Completeness: 4/5

https://github.com/pdoulatshahi/wdinstagram_rails/tree/pd_solution

I'm blanking on seeding the data - not working. I am using the same seeding command as with Sinatra - just doesn't seem to be working. No CSS either. Everything else seems to be working.

User stories for blog - as a user I should be able to:

  1. view all blog posts on one page;
  2. view just one specific blog post;
  3. add a new blog post;
  4. edit/update a blog post from that blog post's page;
  5. delete a blog post from either the all posts page or the specific blog post's page.

instarails

comfort: 5
completeness: 5

https://github.com/mattficke/wdinstagram_rails

Blog User Stories

  • As a user...I would like to view all my posts in reverse chronological order on the home page.
  • I would like to be able to write posts and have them saved for viewing
  • I would like to be able to link to individual posts
  • I would like to be able to edit posts
  • I would like to be able to delete posts
  • I would like to be able to include images in posts
  • I would like to be able to comment on my posts and the posts of others
  • I would like to be able to have an account to manage my posts
  • I would like to be able to search all posts

rachel wdinstagram

https://github.com/rewarren/rachel_wdinstagram

comfort: 2.7
complete 2.5..

I attempted wdinstagram at GA but had to shut down because i didn't feel like i was doing anything in the correct flow order and it became overwhelming to me. Came home and started over completely but still couldn't understand an error I received in terminal when trying to run rails server (I attached a screen shot). i received it at first while still at GA, but lo and behold it found me in a brand new rails file at home too. at GA i thought it was because i hadn't yet created an entries_controller.rb file (i think), but this time around that particular file was already created... i was never able to go to localhost:3000...frustration won out. feel defeated

screen shot 2015-07-27 at 9 57 37 pm

user stories for the blog:

as a user i want to see the most recent post at top
as a user i want to create a post
as a user i want to be able to edit a post

HW WDinstagram Rails User Stories

comfort 4
completeness 4.5
https://github.com/pdavies88/wd_instagram_rails
User Stories
As a user I would like to see a form that I can type into
As a user I would like to submit that form and have what I wrote populate on my blog page
As a user I would like to have my posts have a header and body
As a user I would like to be able to comment on my created posts
As a user I would like to be able to delete my old posts

WDI Instagram Rails

https://github.com/siltastic/wdi-instagram

Comfort Level: 3/5
Completeness: 5/5

This was a challenging assignment; however, I have a better understanding of the structure and placements of certain information. At first, I was going to work with what Andy taught us (the setup), but decided to use Jesse's way. Then incorporated the lessons about routes and conversions from Andy. It was hard, yet fun!

User Stories: As a user, I should be able to ...

  • Add a blog post in order to share information.
  • Add a photo(s) in order to share photographic information.
  • Edit a blog post in order to correct information.
  • Know how to navigate the blog site in order to start posting posts.

My blog will be about French toast, my guilty pleasure.

WDInstagram

Completeness 4
Comfort 4

https://github.com/phantomhaircuts/WDInstagram_port

Scribble User Stories:
As a user I want to be able to create and write a Post.
As a user I want to be able to Title that Post.
As a user I want to be able to add media to my post.
As a user I want to be able to search posts.
As a user I want to be able to see all the posts.
As a user I want to view and read individual posts.
As a user I want to be able to comment on posts.
As a user I want to be able to read the comments on posts.

WDInstagram to Rails

Comfort: 5
Completeness: 5

https://github.com/jeffjones89/WDInstagram_to_rails

  1. As a user, I should be able to create a new blog post.
  2. As a user, I should be able to view all blog posts.
  3. As a user, I should be able to have my own log in information.
  4. As a user, I should be able to comment on blog posts.
  5. As a user ,I should be able to delete blog posts.

WDInstagram for Rails + User Stories for Blog

https://github.com/Walter-0/WDInstagram_rails

Comfort 4/5
Completeness 5/5

Rails gave me an error when trying to create or edit an entry, until Nic described how to pass in strong params to explicitly allow it.

  1. As a user, I should be able to see all the articles on the index page so that I can browse all the articles.
  2. As a user I should be able to create new articles so that I can add content.
  3. As a user I should be able to edit old articles so that I can correct errors.
  4. As a user, I should be able to delete articles so that I can get rid of articles I don't want.

WDInstagram with Rails

Repo:

https://github.com/nolds9/wdinstagram_rails

Scribble User stories:

  • As a user, I want an index page so I can read all Blog Posts.
  • As a user, I want an authorization system, so I can log in and create a post or leave a comment.
  • As a user, I want a show page, so I can see an invidual post and leave a comment.
  • As a user, I want a new post page, so I can create a new blog post.
  • As a user, I want an edit page, so I can update a blog post if necessary.

WDInstaRails

comfort_level: 4.5
completeness: 5

https://github.com/ebirving/wdinstagram-rails-port

Blog User Stories:

  • As a user I want to publish new blog posts.
  • As a user I want to edit my existing blog posts.
  • As a user I want to read others' blog posts.
  • As a user I want to comment on others' blog posts.
  • As a user I want to be able to delete my blog posts.
  • As a user I want to delete offensive comments on my posts.
  • As a user I want to delete my comments on others' posts.

WDInstagram

Here's a link to my repo. I ran into my time block pretty quickly, so I'll continue to work on this. I also didn't create an independent repo, so I was working on moving the content into the /wdinstagram folder within this directory.

petergcutler/wdinstagram@1ec0388

As a user, I want to be able to create posts with a text focus to share my writing.
As a user, I want to be able to be able to share and read posts.
As a user, I want to be able to edit my posts once published.
As a user, I want to be able to delete posts once published.

HW Submission

Comfort: 5
Completeness: 5

https://github.com/edwardpark/WDInstgram_rails

User Stories :
V1.
As a User, I want to see a homepage, so that I can have a starting point.
As a User, I want to see all of my blog posts, so I can review through them.
As a User, I want to create a new blog post, so I can create narrative.
As a User, I want to see a single blog post, so I can read and review it.
As a User, I want to edit and update any blog post, so I can fix and edit my posts.
As a User, I want to delete any blog post, so that I correct any mistakes I might of published.

wdinstagram on rails

comfortLevel: 2
completeness: 2
link to repo: https://github.com/tomBeach/wdinstagram_tomBeach

Failures after creating/modifying files and database. Stuck on "Unable to autoload constant EntriesController..."

user stories for blog project:
• I want to add a new blog entry with a single click to quickly get to writing the entry
• I want to save my entry via save button when done so my entry is preserved in the blog
• I want to be able to edit my entry via edit button so I can make corrections after saving
• I want to be able to select blog entries from selected contributors so I can follow entries I find interesting
• I want to be able to sort entries by date, topic, author so I can organize blog content
• I want to see authors, topic and date entered on each blog entry so I know what I am seeing
• I want the blog entries to be limited in length so authors are encouraged to get to the point

WDI Instagram on Rails and User's Stories for Blog

WDInstagram on Rails is here:
https://github.com/LauraWN/WDInstgram_rails

User stories for blog:
#1: I want the ability to post my thoughts easily so that I can post quickly.
#2: I want the ability to comment on other people's posts easily so I can get my comment online.
#3: I want the ability to delete a post because sometimes you want to delete what you posted.
#4: I want the ability to list posts so I can see what is online.
#5: I want the ability to sort or search posts so only read the most interesting ones.

comfort: 3.5
completeness: 5

rails_wdinstagram

https://github.com/jmas13/rails_wdinstagram

comfort: 4/5
completeness: 5/5

Users Stories for Blog

As a user, I would like see an list of all posts
As a user, I would like to be able to submit a new posts
As a user, I would like to be able to edit a submitted post
As a user, I would like to be able to delete a post
As a user, I would like to be able to comment on a post

Rails 1 - Sinatra 0

Comfort_Level: 3.5
Completeness: 4

https://github.com/karldonus/wdinstagram/tree/donusSolution

BLOG User Stories:
As a User, I expect to see all blog entries in an index.
As a User, I expect to see each blog entry individually.
As a User, I expect to be able to edit each blog individually.
As a User, I expect to see the time of submission.
As a User, I expect to be able to create a new blog post.
As a User, I expect to be able to delete any blog posts.

WDInstagram HW

https://github.com/KevCole/rails_wdinstagram.git

As a user I should be able to post a blog to share thoughts
As a user I should be able to edit any mistakes or typos
As a user I should be able to delete any blog entries.
I should be able to see all blog posts at a glance
As a user I should be able to post photos to accompany my blog post

WDInstagram_rails

Accidentally created a pull request... oops! Sorry.

Not sure if this is working

https://github.com/iamjustinprice/WDInstgram_rails

comfort_level: 2
completeness: 2

User stories for Scribble:

  1. As a user, I should be able to create a blog post, so I can share my story with people all around the world
  2. As a user, I should be able to comment on other users' posts, so I can let them know how I feel about them
  3. As a user, I should be able to delete a blog post I regret, so I don't have to live with the embarrassment
  4. As a user, I should be able to make changes to a post I made, in case there's a spelling error or something

Cameron Fry HW Submission

Link to repo: https://github.com/cameronfry11/WDInstagram_cameron_solution

completeness: 3.5/5
comfort: 3/5

I'm still having issues troubleshooting some of the errors. I felt like I was able to make most of the significant changes between Sinatra and Rails. I struggled to set up the database correctly.

Scribble User Stories:

As a user I should be able to ___ so I can ____:

I should be able to get old posts so I can read what I've written in the past.

edit posts so I can update information and correct errors

delete posts so I can remove bad content

comment on posts so I can have dialogue with readers about the post

log in as a unique visitor so that comments and posts are assigned to the correct user

see most recent blog posts first and later posts at the bottom of the page so I can stay relevant

WDInstgram HW

Comfort Level: 3
Completeness: 3

https://github.com/kristingreenslit/wdinst.git

Files are copied and I have a working understanding of what goes where and why, but did not finish writing and testing routes.

User Stories:

(1) As a user, I would like to post a photo to the website so that I can store photos.
(2) As a user, I would like to delete a photo so that photos posted in error can be removed.
(3) As a user, I should be able to edit the descriptions of photos so that I can provide context for the photo.
(4) s a user, I should be able to see all photos at once so that I can browse the history of all photos taken.
(5) As a user, I should be able to select an individual photo so that I can zoom in on a larger version and see more photo details.

WDInstagram Rails HW + Scribble user stories

Comfort: 3
Completeness: 4

https://github.com/leighvarley/WDInstagram

I had a lot of issues figuring out the database connection on this assignment. I wrote everything that I tried so that I can follow up with someone on this tomorrow to see where I went wrong. I think that I get the basic idea of the assignment minus the database connection part.

Scribble User Stories:
As a user, I should be able to:
-view all existing posts
-view a single post when I click on it
-add a new post
-view existing comments
-add a new comment
-delete an existing post that I created

WDInstagram Sinatra => Rails

https://github.com/RoselPadilla/WDInstagram_Rails

comfort: 4
complete: 4

Get an error whenever I submit my new post. Besides that everything works fine. I had a bit of difficulty transferring some things over since my solution and the WDI solution were a bit different and I was using the db that I used for the initial lab (some of the attributes and routes didn't match up but I got most of it to work)

User stories:

  1. A user should be able to see the latest blog post
  2. besides the latest blog post, a user should be able to see older posts.
    3 User should be able to sort posts by date
  3. A user should be able to sort post by tags
  4. A user should be able to comment on the post.
  5. A user should be able to reply to other comments.
  6. A user should have a way to easily share a post

WDInstagram_Rails HW

comfort: 4
completeness: 4.5

https://github.com/ktw1222/WDInstagram_rails

All functions work, but I don't know why "tmp/cache/assets/development/sprockets/v3.0" folder was created when I pushed the files to the repo.

--User stories for blog--
As a user, I should be able to....

  1. write new blog posts
  2. delete any blog posts
  3. view all blog posts
  4. write comments on my blog posts and on other people's comments
  5. update any existing blog posts
  6. post some pictures and songs with articles
  7. connect with other people's blog sites
  8. decorate the blog

Monday Homework - Ksenia

comfort: 4
completeness: 5

https://github.com/kscoulter/Rails_WDInstagram

User Stories:

As a user I should be able to view a list of posts
As a user I should be able to view individual posts when I click on them
As a user I should be able to make a post
As a user I should be able to delete a post
As a user I should be able to comment on posts

Homework - WDInstagram_rails

URL to my repo: https://github.com/malissaromero/WDInstgram_rails

completeness: 5
comfort level: 4

I am really enjoying rails. I feel that I am able to comprehend much better than front end. I did run into a lot of bugs but I had fun figuring it out. All of my RESTful actions and routes are working but I still get confused on the different languages. I was using Active Record in my psql. I had to ask the tutor why I wasn't able to see my database and he said because I am using the wrong gem. Lol.

Scribble User Stories

  1. A user should be able to see posts and comments.
  2. A user should be able to add a post.
  3. A user should be able to edit a post.
  4. A user should be able to delete a post.
  5. A user should be able to make a comment on a post.
  6. A user should be able to delete a comment on a post.

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.