Giter Club home page Giter Club logo

comedy-cellar's Introduction

Project Background

Goals

Outcomes

System Overview

Monitoring

Additional Links

Project Background

The Comedy Cellar is a popular venue that hosts both big name and emerging comedians. High-demand times like weekend nights can be fairly expensive ($24 plus 2 item minimum for most shows), so for some people it may not be worth the cost if they’re not going to see a comedian they’ve heard of. Reservations for those times can also be filled up days ahead of time. Line ups for weekend shows are generally not released until the Wednesday or Thursday before the show.

Goals

The primary goals for v1 of this project are:

  1. Identify high-level trends in what days/times performers appear (so user can predict what show they might want to go to ahead of time)
  2. Let users sign up to receive email alerts when comedians they are interested in are listed in upcoming shows

Outcomes

When a user initially subscribes, they will receive a welcome email listing all upcoming showtimes for the comedians they selected

welcome email

Each night when the script runs (7pm ET), if there are any new shows added for the subscriber's selected comedians or if they are dropped from a show the user was previously alerted to, the user will receive an update email

update email

System Overview

system diagram

Monitoring

Logs are sent to Datadog.

For the nightly scraping/emailing process, logs are sent if a comedian name exceeds 50 characters, when the scraping is complete, when data is successfully loaded into each local and remote table, and when each email is sent. These logs are used in a dashboard.

scraper_datadog_dashboard

The website sends heroku system logs and special logs when a user adds a subscription or unsubscribes.

site_datadog_dashboard

I also set up email alerts so that I will be notified if the scraper has not run in 24 hours or generated an error log (or when there's a new subscriber, on a more positive note).

monitors

Additional links

Original project outline

Steps and SQL

comedy-cellar's People

Contributors

mlm603 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.