Skip to content

dwang3851/th-registration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TartanHacks Registration Client Interface

This is the client interface for the TartanHacks 2013 registration system. To learn more about TartanHacks, check out http://tartanhacks.com. For a live demo of this interface, look at http://register.tartanhacks.com.

Development Notes

While developing locally, set DEV_MODE=true; in order to use static local JSON instead of calling the external API (which most browsers disallow due to cross-origin requests).

API

The current registration status can be found by making a GET request to

http://register.tartanhacks.com/api/active_registration_types

To submit a user to the server, make a POST request to

http://register.tartanhacks.com/api/submit_registration

The following attributes are required:

  • type Registration category string ('PRE' || GEN || EXT || GRAD)
  • firstName nonempty string
  • lastName nonempty string
  • email nonempty string
  • gradYear integer
  • tshirtSize string ('MS' || 'MM' || 'ML' || 'MXL' || 'FS' || 'FM' || 'FL' || 'FXL')
  • dietaryRestriction string
  • university string ('CMU' || 'PITT' || 'PENN' || 'PRINCETON' || 'MIT' || 'CORNELL' || other)
  • cmuCollege (string 'CIT' || 'CFA' || 'DCHS' || 'TPR' || 'HNZ' || 'MCS' || 'SCS' || 'NA')

Contributors

About

TartanHacks Registration System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%