/private-events

A site similar to a private Eventbrite which allows users to create events and then manage user signups.

Primary LanguageRuby

Project:Members-Only

In this project, we built a site similar to a private Eventbrite which allows users to create events and then manage user signups. Users can create events and register for events.Events take place at a specific date and at a location (which you can just store as a string, like "Andy's House").

Steps Include:

  • Setting up the Back End
  • Generate a new rails app from the command line
  • Add
  • Generate User/Event/EventAttendee model and fill out the migrations to get the columns you want.
  • Create Forms ie SignUp, LogIn, Create Events
  • Run the migrations
  • Create Controllers for different models and their routes.
  • Create Associations between different models.
  • Add navigation links across the top to help you jump around.
  • Modify Users shows page to separate those events which have occurred in the past ("Previously attended events") from those which are occurring in the future ("Upcoming events").
  • Add tests for the models

Built With

  • Ruby
  • Rails Framework
  • Rails Console
  • Rspec

Getting Started

  • Clone the repo to your local machine, and ensure you have Ruby & Rails installed
  • Ruby version ruby '2.6.5'
  • Rails version rails 6.0.3
  • Configuration

Start by:

  • Ensure you have both Ruby and Rails Installed.
  • Fork/Clone the project to your local machine
  • cd into the project directory
  • bundle install
  • run rails db:migrate

Commands to run

  • rails s to run the local host and start playing with the site.

Author

👤 Mupa M'mbetsa Nzaphila

👤 Taiwo Coker

🤝 Contributing

Start by:

  • Fork/Clone the project to your local machine
  • cd into the project directory
  • Run git checkout -b your-branch-name
  • Make your contributions
  • Push your branch up to your forked repository
  • Open a Pull Request with a detailed description to the development branch of the original project for a review

Feel free to also check the issues page.

Show your support

Give a ⭐️ if you like this project!!

Acknowledgments

  • Microverse
  • The Odin Project
  • Rails Guides