This is a sample application that I developed as part of a presentation on building apps using MongoDB. The app is a checkin application. The data was pulled from the Factual places API and I generated checkins for 50 sample users over the span of 1 month.
There are three versions of the app, each with increasingly more functionality:
- v1: browse users and places, and create new checkins
- v2: v1 plus each place now has browseable categories
- v3: v2 plus geospatial support (for nearby places) and some simple aggregate stats per place
- Get yourself a working MongoDB setup (I used MongoHQ)
- Use
sampledata/data.py
to pull data from Factual, create places and users, and generate checkins - Note: Each version is an independent application in case you want to deploy them individually
- Run
pip install -r requirements.txt
and run the app withpython app.py