Giter VIP home page Giter VIP logo

dinesafeheroku's Introduction

Dinesafe backend

Overview

Dinesafe is a system for restaurant inspections for the city of Toronto

Docs

path description
./README.md this file. thank you
./README_DATA.md data acquisition and processing
./README_MONGO.md mongo overview
./README_PSQL.md postgres overview
./README_SECURITY.md security measures
./python/README_SHAPEFILES.md desc of legacy python for shapefile scraping

DB notes

PostgreSQL (Read Only)

Because the dataset is very large and takes a lot of time to process on a local machine, it is written to Heroku via pgpush, which erases existing data.

See README_PSQL.md for more details.

For this reason it made sense to use another method to store user added data.

MongoDB (User Data)

Self hosted on an Ubuntu server.

Using the standard mongo gem.

See README_MONGO.md for more details.

Local DB and Heroku DB

Rake tasks are database intensive so heroku pg:push is used to push data from the local psql db instead of writing directly to production

see README_PSQL.md for more details

dinesafeheroku's People

Contributors

etw3gh avatar

Watchers

James Cloos avatar  avatar

dinesafeheroku's Issues

pho

restrict to Vietnamese restaurants that serve pho

new model Pho just containing EIDs.

will need an interface to add manually as the names are not always obvious

services to populate react dropdowns

A street dropdown with predictive text, populates optional street number dropdown and venue dropdown.

option to narrow streets by municipality (service to return list of municipalities from Address model)

Address->getstreets?bymun=m}
Address->streetinfo?street=s (returns 2 arrays: streetnumbers and venues)

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.