A Ruby-on-Rails application that allows users to create events and manage user signups. Users can create events and send invitations to other users. Events take place at a specific date and location. This project is part of The Odin Project's Ruby on Rails curriculum.
- User authentication with Devise
- Create and manage events
- Attend events created by other users
- View past and upcoming events
- User profiles showing created and attended events
- Ruby 3.2.2
- Rails 7.1.2
- PostgreSQL
- Devise for authentication
- HTML/CSS
- Git for version control
- Ruby 3.2.2
- Rails 7.1.2
- PostgreSQL
- Clone the repository
git clone https://github.com/yourusername/private-events.git
cd private-events- Install dependencies
bundle install- Setup database
rails db:create
rails db:migrate- Start the server
rails server- Visit
http://localhost:3000in your browser
The application uses the following models:
- User (devise authentication)
- Event (title, date, location)
- UserEvent (join table for managing event attendance)
This project was built as part of The Odin Project's Ruby on Rails curriculum. Key learning points include:
- ActiveRecord Associations
- Through Associations
- Foreign Keys and Class Names
- Devise Authentication
- Model and Controller Organization
- Rails Forms and Nested Attributes
Based on The Odin Project's specifications, this project implements:
- User authentication
- Event creation and management
- Event attendance functionality
- Separation of past and upcoming events
- Association of events with creators and attendees
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
- The Odin Project for the project requirements and learning resources
- Ruby on Rails Guides for the excellent documentation
- Devise for authentication
- Zeyad Hassan
This project is part of The Odin Project curriculum.