https://www.theodinproject.com/lessons/ruby-on-rails-private-events
When signed in:
- Users can create events, and edit and delete their current events
- Users can view other events
- Users can join and leave events created by others
- Users can see who else is attending current events
When signed out:
- Users can view all events
- Users can view details of specific events, past or present
- Users cannot create, edit, or delete events
- Users cannot attend or leave events
Version 3.2.2
Use ruby -v
to see your system version
Version 7.0.6
Use rails -v
to see your system version
Version 4.9
To add the devise gem check out the README here https://github.com/heartcombo/devise
-
Clone the repo
git cone https://github.com/kguyer/Private_Events
-
Setup the database
bin/rails db:setup
, then migratebin/rails db:migrate
-
Start the server
rails server
-
Visit
localhost:3000
to view the app in your browser