Private-Events

Stars
2

Private Events

In this project, we built an application named Private Events that behaves similar to Eventbrite. The main goal is to put in practice the main concepts of Associations in rails.

Built with

  • Ruby on Rails
  • RSpec / Capybara (Unit/Integration Testing)
  • Bootstrap
  • Linter (Github Actions, Rubocop)
  • SQlite

Getting Started

To get a local copy up and running follow these simple steps.

  • On the project GitHub page, navigate to the main page of the repository this page.
  • Under the repository name, locate and click on a green button named Code.
  • Copy the project URL as displayed.
  • If you're running Windows Operating System, open your command prompt. On Linux, Open your terminal.
  • Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
  • Type git clone, and then paste the URL you copied in Step 3.
    $ git clone https://github.com/teekaytech/Private-Events.git
  • Press Enter. Your local copy will be created.

Please Note that you must have github installed on your PC, this can be done here.

Prerequisites

Since all the code is written using ruby on rails, Ruby Runtime >= 1.9 and rails 6 is required to interpret the code. If you don't have ruby on rails runtime already setup on your computer, follow the instruction for your specific operating system on the official installation guide.

Usage

After cloning on your computer, open the folder using your terminal/command prompt window and run

bundle install rails db:migrate rails db:seed rails server

Signup a new user to test the app.

Running RSpec and Capybara Test Cases

On the terminal, run rspec command to execute the test cases. Please note that this integration testing (Capybara) works well with Chrome browser.

Authors

👤 Taofeek Olalere

👤 Ebeagu Samuel

🤝 Contributing

Contributions, issues and feature requests are welcome!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request.
    Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project.

📝 License

This project is MIT licensed.

Acknowledgements