This project is part of the Microverse curriculum in Ruby On Rails course!
Explore the docs »
Report Bug
Request Feature
Private Events allows users to create events and invite other users to their events.
- Application Screen Shots
- About the Project
- Future Features
- Application Instructions
- System Requierments
- Dependencies
- Configuration
- Development
- Testing
- Built With
- Contributors
- Acknowledgements
The project creates a database which holds 3 tables:
- Users : Is the table containing the users' data
- Fields :
- string: name
- datetime: created_at
- datetime: update_at
- Events : is the table containing the events' data
- Fields:
- text: description
- string: location
- datetime: event_date
- integer: user_id
- datetime: created_at
- datetime: update_at
- user_id is the id of the creator user
- Events_Users : is the Join Table that contains the users' events attendance
- Fields :
- integer: use_id
- integer: event_id
Constraints for tables are as follows:
-
Users Table
- name: required
-
Events Table
- description: required
- location: required
- event_date : required
We added our styling choices editing the application.css file
- Creators of the each event may add images and other media, so users may have a taste of what to expect before the event
- Attendees may add comments and media on each event, so they can feed-back their experience
- New users must sign up and give a name, otherwise they can only access the events index
- Using just their name they can log in
- A logged in user can create events and invite other users to attend those events
- Invitations or removals can be applied from the event's show page by clicking
- 'Invite' in the 'Select Attendees' list, or
- remove invitation by clicking 'Remove' at the 'Attendees' list
- An event requires a description, a location and an event date
- Users also can register to attend other's users' events
- Users can edit or delete their own created events and their own account
- Ruby
- Rails
- Yarn
- RSpec
- rspec-rails gem
- capybara gem
- selenium-webdriver gem
- chromedriver-helper gem
- first, clone the project Run
git clone https://github.com/ioanniskousis/private-events.git
- Install the necessary dependancies Run
bundle install
rails generate rspec:install
yarn install
- Clone the project
https://github.com/ioanniskousis/private-events.git
- Tests have been included using RSpec for controllers, views and models
- Location /spec/
- 6 test files
- main_menu_spec.rb
Tests the functionality of the application's menu bar buttons - controllers/events_controller_spec.rb
Tests the actions of the events controller - controllers/session_controller_spec.rb
Tests the actions of loging in ang logging out - controllers/user_controller_spec.rb
Tests the actions of users controller - models/event_spec.rb
Tests the functionallity of event model - models/user_spec.rb
Tests the functionality of user model
- main_menu_spec.rb
This project was built using these technologies.
- Ruby version 2.6
- Ruby On Rails version 6.0
- rspec
- capybara
👤 Author_1
- Github: @ioanniskousis
- Twitter: @ioanniskousis
- Linkedin: Ioannis Kousis
- E-mail: jgkousis@gmail.com
👤 Author_2
- Github: @ericmbouwe
- Twitter: @ericmbouwe
- Linkedin: Eric Mbouwe
- E-mail: ericmbouwe@gmail.com