This is the source code for BlizzardJudge.com, the web app that helps answer the age old question: "Which is the very best Dairy Queen® blizzard?"
Users can create an account and then start rating and reviewing blizzards. Users can also create their own custom blizzards and have others comment and review their creations. Photos are attached to reviews in order to document true blizzard verdicts.
After a blizzard has been reviewed 2 or more times, it will be added to the legendary Top Ten List.
- Clone or download this repository.
npm install
- Copy
./variables.example
to./variables.env
- Configure your Mongo Database string inside
variables.env
- Configure your SMTP email server credentials and addresses/names inside
variables.env
(edit any key that begins withMAIL_
) - Configure your Cloudinary API credentials inside
variables.env
(edit any key that begins withCLOUDINARY_
) - Add a unique application
KEY
andSECRET
tovariables.env
- Optional: copy
./variables.env
to./variables.production.env
(for production values) and edit as you see fit. npm run dev
- Visit
http://localhost:4321
Party on Wayne.
You can seed the database with some live data from the Dairy Queen® Canada website by running npm run load-dq-data
. This will check if the blizzards on this page are already located in your database and, if not, add them to your blizzard collection.
You can python heroku-config.py
to add all of the Heroky "config variables" at once to Heroku. Then just it's just a heroku push master
kinda thang...
Blizzard Judge uses the following:
- Node/ES6
- Express
- MongoDB
- Cloudinary (for image storage)
- Axios
- Passport.js (user authentication)
- Pug (for templating)
- Webpack
I saw a need for something really important that didn't exist in our world so I built it.