Private Events
In this project we demonstrate working with ActiveRecord's associations (one to many, many to many).
Features
Endpoints covered in this project
users & sessions
- POST localhost:3000 /users/new - For Signing up a new client.
- POST localhost:3000 /users/user_id - For viewing a user's dashboard/profile.
- GET localhost:3000 /signin - For logging in a user.
- POST localhost:3000 /logout - For signing out a user.
events
- POST localhost:3000 /events/new - For creating a new event.
- GET localhost:3000 /events - For viewing all events.
invitations
- POST localhost:3000 /invitations/new - For inviting users to an event.
- GET localhost:3000 /invitations - For viewing both past and upcoming invitations.
Installation
- Ensure the project dependencies are installed
- clone the repo the command
git clone [email protected]:dansantander/private_events.git
- Navigate to the project folder
- run
bundle
or bundle install
Getting Started
- Head over to your server on localhost:3000
- Create a new User using the Signup form and start a session by Signing in.
- Create a new Event with a Title and a Date.
- Make an Invitation for other Users to attend the Event you created.
Built With
- Ruby 2.7
- Ruby on Rails 5.2
- HTML forms, Rails form_tag and form_for
- Git, Github and VScode
Authors
👤 Daniel Santander
👤 Alfred Ezaka
Contributing
Contributions, issues and feature requests are welcome! issues page.
License
Creative Commons • May 2020