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 marygriffus avatar

Watchers

James Cloos avatar  avatar

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.