Skip to content

lukestuts/rodauth_sinatra_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rodauth_sinatra_demo

A quick demo of Sinatra and Rodauth with Postgres. It demonstrates:

  • Working ("On My Mac") login and logout and user creation
  • Separate Rodauth app and db users
  • Use of non-default schema

setup_mac.sh will install required postgres (requires HomeBrew) and gems (Bundler-free zone) and seed the database

Start the Sinatra server using ruby demo.rb (config.ru-free zone)

db/seeds.rb creates a user login with credentials demo@demo.com / demodemo.

I believe there isn't an equivalent demo online so hopefully this will be useful to someone.

About

A quick demo of Sinatra and Rodauth with Postgres

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors