Giter Club home page Giter Club logo

idea_box's Introduction

All The Ideas

A blend of JavaScript and Rails, All the Ideas is a one page application written for the purposes of expanding my current knowledge of client side JavaScript. There is a simple Rails API serving data for the front end JavaScript.

Technologies Used:

  • JavaScript
  • Ruby on Rails
  • Ajax
  • jQuery
  • TDD using RSpec, Teaspoon, Mocha, Capybara Webkit, Factory Girl

Functionality

The production application can be found here

If you ever needed a place to record all the crazy ideas you have throughout the day, you've come to the right place. Idea box is a place for you to record those ideas. A new idea can be created with a title and a body. Quality of ideas defaults to "Swill", but can be upvoted to "Plausible" or "Genius". Downvotes can be used to decrease the quality of an idea in the opposite order. If an idea is truly terrible, you can delete it. Edit the title or body of an idea by clicking on it.

Run it Locally

Clone: git clone https://github.com/lucyfox4131/idea_box.git

DB Setup: rails db:create db:migrate

Run the Server: rails s

Navigate to: localhost:3000

Add some ideas!

idea_box's People

Contributors

lucyfox4131 avatar

Watchers

James Cloos avatar  avatar

idea_box's Issues

Enums

Think about refactoring idea model case statement to enums

Refactor JS

Refactor common functions. How can they all be cleaned up?

Redo DELETE

Adjust Delete so it's happening in success and not just always

JSHint

Clean up all JSHint errors throughout idea box

Changing Idea Quality

ideas default to swill, clicking thumbs up and thumbs down will change the quality of the idea but only if it can be changed, trying to increment a genius or decrement a swill idea will have no effect.

Deleting an existing idea

Each idea in the list will have a link or delete button

-upon clicking delete the idea is removed from the lsit

  • the page will not reload when the idea is deleted
    -the idea should be removed from the DB, will not appear on next page load

Styling

Spacing on table -- Cleaner
Headers/Add some color/make boxes a bit bigger/style buttons

Ideas

See list of all existing ideas including title, body and quality for each idea

Editing an Existing Idea

When the title or body of an idea in the list is clicked it becomes editable text prepopulated with existing idea title or body

Clicking this link should not take the user to a separate edit page

the user can "commit" their changes by pressing enter/return or by clicking outside of the text field

if the user reloads the page, their edits will be reflected

Idea Filtering/Searching

We want users to be able to easily find ideas that have been created

--> There should be a Search field, as a user types in the search box then the list of ideas should filter in real time to only display ideas whose title or body include the users text

--> clearing the search box should restore all the ideas to the list

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.