Implementation of an event management application with Rails. Users can create events and manage user registrations for these events.
To put in practice the main concepts of Associations in rails through an app similar to Eventbrite
The front end (
http://localhost:3000/
) displays the list of all events, categorized by upcoming and past ones. Only signed-in users can register to events. Links in the nav bar lets usersJoin
,Sign In
, viewPopular Events
andLogout
if signed in. When Signed in, a user can access private pages viaCreate Event
andMy Events
links. Every signed-in user can invite other users to an event. Only upcoming events show the option to invite users. After an event is successfully created, the user gets redirected to the event's show page. When viewing an event, the user can see a list of all the attendees.
Win + R
, then type cmd
| Mac: Command + space
, then type Terminal
cd
commandgit clone [email protected]:george-swift/private-events.git
to get a copy of the project.cd
commandrails db:migrate
rails webpacker:install
to configure Webpacker for your environment. Otherwise, an error like so Webpacker::Manifest::MissingEntryError
will appear if you attempt to run the server.yarn add [email protected] [email protected]
.config/webpack/environment.js
and include the following snippet below the first line: const webpack = require('webpack')
environment.plugins.append('Provide',
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Popper: ['popper.js', 'default']
})
)
bundle install
in the terminalrails test
rails s
to fire up the serverhttp://localhost:3000/
in your browser to get into the appJoin
linkCtrl + C
in your terminal👤 Miguel Ricardo Gomez
👤 Ubong George
Ruby on Rails Guide for technical information on how to be productive with Rails
Give a ⭐️ if you like this project!
Available as open source under the terms of the MIT License.