A simple API to create giveaways and choose a random winner from responses.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib/tasks
log
public
spec
tmp
vendor
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

 _____                 _
|  _  |               | |
| | | |_ __  _ __ __ _| |__
| | | | '_ \| '__/ _` | '_ \
\ \_/ / |_) | | | (_| | | | |
 \___/| .__/|_|  \__,_|_| |_|
      | |
      |_|

Oprah

"You get a prize. You get a prize! Everyone gets a prize!!!"

A simple API to create giveaways and choose a random winner from responses.

Requirements

This application requires:

  • Ruby 2.3.1
  • Rails 5.1.5

Getting Started

To start using this API, you only have to do the typical Rails things:

  • Install Ruby version 2.3.1 (using RVM or RBenv or whatever).

  • Clone the repo and do bundle install:

parzival@MacBook-Pro:~$ git clone git@github.com:katpadi/oprah.git
parzival@MacBook-Pro:~$ cd oprah
parzival@MacBook-Pro:/oprah$ bundle install
parzival@MacBook-Pro:/oprah$ rake db:setup
  • Launch the app!
parzival@MacBook-Pro:/oprah$ rails s Puma