Giter Club home page Giter Club logo

bellbird's Introduction

BellBird

A website that allows visitors to create alarms (which will send a push notification to the user's phone) and upvote alarms

Instructions to Set Up

On Terminal:

  • cd into the bellbird folder
  • call the rake db:seed command in terminal to get the database in seed.rb
  • call the rails s command in terminal to start the server

On the Web Browser:

  • go to the url: localhost:3000

Assumptions

  • I assumed that by "visitors" it means the website is not registration based so anyone who links to the website can create and upvote alarms.
  • Upvote is based on visitor session (opening up another tab/web browser to the website allows the visitor to add a new vote as a different session user)
  • I assumed that the spec only requires us to implement functions to create alarm and upvote alarm, therefore I did not implement delete or edit functions for alarms as well as downvote.
  • I wasn't sure how the spec wants us to enforce the ALL CAPS requirement, so I implemented my code so that if the user types in lowercase input for the alarm name, the website automatically converts the input to uppercase and assign it to the new alarm.
  • I added some alarms in the database in seed.rb for application testing purposes.

bellbird's People

Contributors

melodywei861016 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.