Code Monkey home page Code Monkey logo

sf2-boys's Introduction

TODO:

  • create form and handler for event creation
  • after the event has been successfully created, make a poller for it
  • create frontend for an event, that parses tweets into conversations
  • improve error handling

sf2-boys's People

Contributors

avalanche123 avatar everzet avatar jmikola avatar

Stargazers

 avatar JT5D avatar Dinesh Kr. Choudhary avatar  avatar  avatar Steve S avatar  avatar

Watchers

 avatar  avatar James Cloos avatar Dinesh Kr. Choudhary avatar  avatar  avatar

sf2-boys's Issues

Handle unauthorized user error for creation form

Added homepage link to creation form, but the form can error out if the user is unauthorized. An "Unauthorized" error will be thrown in the backend trying to submit the form. We need to handle this gracefully in Backbone.

For now, a general error appears above the form, but no fields have errors.

This might also affect the edit form (though that wouldn't appear to the user as easily).

Create backend models for event, talk and tweet objects

Create backend models using mongoose.

Event fields:

  • organizers (array of Twitter username strings)
  • name
  • image URL
  • location
  • start time
  • end time
  • description

Events are related to many sessions. Session fields:

  • speaker (string or array of Twitter username strings)
  • name
  • description

Sessions are related to many tweets, which will be data directly from Twitter.

Cannot save events due to talks hash unique index

The unique constraint on the embedded object seems to make creating talk-less events impossible:

{ stack: [Getter/Setter],
  arguments: undefined,
  type: undefined,
  message: 'E11000 duplicate key error index: twalks.events.$hash_1_talks.hash_1  dup key: { : null, : undefined }' }

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.