On this project we made a site where you can create events, invitations to said events, and see a full list of all the events past and upcoming.
For this project we used 3 models:
- User:
- Can post events
- Can make invitations
- Can receive invitations
- Has many attended_events
- Has many created_events
- Has many created_invitations
- Event: -Belongs to a creator -Has many invitations -Has many attendees
- Invitation: -Belong to a user -Belong to a creator -Belong to an event
You can either clone the repo and play with it on your machine To clone do:
- Cloning the repo:
$ git clone git@github.com:NewIncome/mv_private-events.git - cd into the new folder:
$ cd mv_private-events - Checkout to the correct branch (for this review ft/models):
$ git checkout *_ft/models_* - bundle the necessary gems
$ bundle - yarn the necessary packages
$ yarn install --check-files - migrate and seed
$ rails db:migrate db:seed - launch the developer server
$ rails s - Loggin with this credentials
User: yosept@gmail.com
-
Ruby
-
Ruby on Rails
-
bcrypt (gem)
-
A bunch on gems used inside rails itself
👤 Joseph Flores
- Github: @YoseptF
- Twitter: @Yosept__
- Linkedin: Joseph Flores
👤 Alfredo C.
- Github: @NewIncome
- Twitter: @J_A_fredo
- Linkedin: Alfredo C.


