Skip to content

Users can create events and send invitations and parties (sound familiar?). Events take place at a specific date and at a location (which you can just store as a string, like “Andy’s House”).

Notifications You must be signed in to change notification settings

Leon-Mbegera/private-events

Repository files navigation

Private Events

This is a site similar to Eventbrite which allows users to create events and then manage user signups. A user can create events. A user can attend many events. An event can be attended by many users. The events are divided into upcoming and past events using scoping and you can easily attend as well as cancel attending it.

To get started

  1. Clone this repository on your local machine and cd into the private-only directory
$ git clone https://github.com/Leon-Mbegera/private-events
$ cd private-events
  1. Install required gem files, excluding gem to run production. $ bundle install --without production

  2. Create the database rails db:create

  3. Migrate the database with: $ rails db:migrate

  4. To run the project on local server do: $ rails server

  5. In your browser, go to http://localhost:3000

Deploying

  • To deploy this private events application, you’ll need to create a new Heroku application, switch to the right branch, push up the source, run the migrations, and seed the database with sample users:
$ heroku create
$ git checkout updating-users
$ git push heroku updating-users:master
$ heroku run rails db:migrate
$ heroku run rails db:seed
  • Visiting the URL returned by the original heroku create should now show you the private-events application running in production.

Author

👤 Leon

About

Users can create events and send invitations and parties (sound familiar?). Events take place at a specific date and at a location (which you can just store as a string, like “Andy’s House”).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages