A MongoDB/Bottle/Twilio restaurant check-in system
Python JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.openshift
data
libs
wsgi
.gitignore
README
README.md
setup.py

README.md

Spokane Restauraunt Week

Website to help keep track of Restaurant Week checkins. Uses Redhat Openshift, Bottle.py, MongoDB, and Twilio

It's a system for restaurants to give out a unique code for a visitor to register. The user rankings and restaurant rankings hasn't been built yet.

Temporary url:

http://twt-dangayle.rhcloud.com/restaurants/

Useful mongo commands:

#remove all codes
db.restaurants.update({},{$set:{"codes":[]}}, {multi: true})

#reset visits to 0
db.restaurants.update({},{$set:{"visits":0}}, {multi: true})

#get object timestampe
ObjectId("5104e13d88ce1d1f556d39f2").getTimestamp()