Skip to content

sanger-archive/user_barcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Sinatra application which will connnect to SNP and look up a users barcode.
Realistically this can only be used within the Wellcome Trust Sanger Institute, but it does provide
a good example for integrating a Sinatra app with an Oracle database.

To run it:
export RAILS_ENV=development && ruby user_barcode.rb -p 3012

To view it:
http://localhost:3012

To use it:
http://localhost:3012/user_barcodes/lookup_user_login.xml?user_login=abc
http://localhost:3012/user_barcodes/lookup_scanned_barcode.xml?barcode=12344567890

About

Sinatra app to translate a scanned user barcode into a username

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages