Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raminmammadzada/rails-private-events
Microverse School > Rails > #6 Associations
https://github.com/raminmammadzada/rails-private-events
Last synced: 12 days ago
JSON representation
Microverse School > Rails > #6 Associations
- Host: GitHub
- URL: https://github.com/raminmammadzada/rails-private-events
- Owner: RaminMammadzada
- Created: 2020-09-29T17:07:34.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2020-10-03T18:57:25.000Z (about 4 years ago)
- Last Synced: 2024-11-30T23:12:38.547Z (22 days ago)
- Language: Ruby
- Size: 130 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
# Microverse School > Rails > #6 Associations
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 join other events. Events take place at a specific date and at a location (which you can just store as a string, like βAndyβs Houseβ).
A user can create events. A user can attend many events. An event can be attended by many users. This will require many-to-many relationships and also to be very conscious about your foreign keys and class names.
- [x] Miltestone 1 - User model, view, controller setup and basic sign in
- [x] Miltestone 2 - Event model, view, controller setup
- [x] Miltestone 3 - Attendance model, view, controller setup
- [x] Miltestone 4 - The associations between Event and User model over middle table## Built With
- Ruby on Rails
- ActiveRecords## Linters
- Rubocop
- Stylelint## Getting Started
To get a local copy up and running follow these simple example steps.
### Install
In order to run, you need to install RUBY and Rails in your computer. For windows you can go to [Ruby installer](https://rubyinstaller.org/) and for MAC and LINUX you can go to [Ruby official site](https://www.ruby-lang.org/en/downloads/) for intructions on how to intall it.Then you can clone the project by typing ```https://github.com/RaminMammadzada/rails-private-events.git```
### Run app
- Type ```bundle install``` in the root file of the project.
- Type ```rails db:migrate``` in the root file of the project.
- Type ```rails s``` in the root file of the project.
- You can go to rails console by typing ```rails console``` and create Member by using Active Record commands and methods.## Authors
π€ **Ramin Mammadzada**
- Github: [@RaminMammadzada](https://github.com/RaminMammadzada)
- Twitter: [@RaminMammadzada](https://twitter.com/RaminMammadzada)
- Linkedin: [@RaminMammadzada](https://www.linkedin.com/in/raminmammadzada)π€ **Jurgen Clausen Gutierrez**
- Github: [@jurgen1c](https://github.com/jurgen1c)
- LinkedIn: [jurgen-clausen](https://www.linkedin.com/in/jurgen-clausen-2740061a9/)## π€ Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](issues/).
## Show your support
Give a βοΈ if you like this project!
## Acknowledgments
- [Microverse](https://www.microverse.org/)
- [The Odin Project](https://www.theodinproject.com/courses/rails/lessons/forms)
- [jumpstartLab](http://tutorials.jumpstartlab.com/projects/blogger.html)## π License
This project is [MIT](lic.url) licensed.