Giter VIP home page Giter VIP logo

anewman15 / private-events Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 476 KB

This is a short Rails project which helps users create events and allow other users to join those events. Each user can see the events they have created as well as those events they have decided to attend. An event page lists the creator and the interested attendees

Ruby 73.94% JavaScript 3.18% HTML 21.67% SCSS 1.21%
ruby ruby-on-rails bulma devise sqlite3 rspec capybara

private-events's Introduction

Private Events - Eventeer

In this project, I created a Rails app for users to create and attend events. It involves has_many through associations. An event has a creator and many attendees. A user can create and attend many events.

I also used validations, complex database queries, as well as RSpec and Capybara for testing.

App Screenshot

app screenshot

Built With

  • Ruby v 2.7.1
  • Rails v 6.0.3.3
  • Devise
  • Bulma
  • Simple Form
  • SQLite3
  • RSpec
  • Capybara
  • FactoryBot
  • Faker Gem

Database ERD

Entity Relational Diagram

Deployment

  1. Open your Terminal and navigate to the directory of your choice
  2. Clone this repo from here
  3. cd into the repo folder and run bundle install
  4. Make sure you have the latest version of yarn installed in your machine. Sometimes the presence of cmdtest prevents yarn from being upgraded to its latest version
  5. Run rails db:migrate
  6. Run rails server and navigate to localhost:3000 in your browser
  7. The home page will have a form for creating an event. It will also list all the events created by all the users
  8. Sign up, log in and click the Create Event button to go back to the home page. Use the form to create some events.
  9. Sign up from another browser using a second username and email. Create some events from that account
  10. When an event is successfully created, it takes you to the event page
  11. Now, attend the events using the Attend this event button. Your name will appear in the event Attendees list. Try attending the event you already have attended. It will give you an notice/alert
  12. You can navigate to other pages using the Go To Main Feed and Go to My Events links
  13. Visit the home page by clicking the Go To Main Feed or Eventeer brand link left of the navbar. It will list all the events created. Events are listed as Upcoming and Past Events
  14. Now, click the My Events link in the right side of the navbar. It will list all events you have created, as well as those you are attending. Each section is subdivided into Upcoming and Past Events sections
  15. Finally, log out and it will lead you back to home page and you will have to log in in order to create and attend an event

Author

๐Ÿ‘ค Abdullah Numan

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

private-events's People

Contributors

anewman15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

private-events's Issues

Peer to Peer code review

  • Get event attendees from you current event instead of creating a separate variable.

Otherwise it's good

Peer-to-Peer code review

  • Try to change the context of create action test
  • Read more about the factory bot

otherwise it's good.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.