You want to see the job, go here : https://polar-retreat-69774.herokuapp.com/
Made 3.5 and until part 3.2
We had to make a great event site to be able to create events and invite other users to these events and see the date and location of the event on the site. But unfortunately the reality is very different :(
-
The app has 2 models:
users
andevents
, a user with a name and can create multipleevents
, it can also attendee forevents
-
An events have a description, a date and a place. An event can be created by one creator and several
attended_events
. -
Then we created a user controller for the #new, #create and #show methods as well as signin forms.
-
Then we created events using the routes and the event creation form.
-
The display of the page of a user must display the events he has created and the index must allow to display all the events and show all the creators.
-
Event management allows us to display the guest list through the "show" page.
-
Page "show" of a user makes it possible to separate past and future events just like the index of events.
-
It is possible to join an event by clicking a button on each event.
-
Our site is not the most beautiful, it is not hyper complete but it exists then please be indulgent dear corrector :D Thank you !
You can check the code of the application on github or clone it if the instructions ask for it, in this case do not forget to type bundle install
once in the repo folder.
Then, you can
rails db:drop
rails db:create
rails db:migrate
rails db:seed
to have a clear database.
Realized by Cyril M. & Pacôme P.