Skip to content

A simple rails project to help people to meet up to play together. A user can read, edit or delete a post.

Notifications You must be signed in to change notification settings

thiagohrcosta/rails-play-together

Repository files navigation

PlayingTogether

main banner

Voted the 6th best project of the week

vote This project was voted the sixth best project of the week by CareerKarma.

Voted the 8th best project of May 2021

vote1
This project wast voted the eighth best project of May 2021 by CareerKarma.

Technologies

This project was created with:

Show

rshow1

show2

User comment

comment

CSS Grid

To display flats on index page was used CSS grid:

.box-flex{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 16px;
  margin: 10px;
}

.box-flat{
  margin: 10px 0;
  border: 1px solid #E8E8E8;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

cssGrid

How to run this project

Download or clone it. . Then run in the main folder the command rails server. If needed, run bundle install to check if all gems are correctly installed. Then open the project on localhost:3000/posts

What user can do?

As user you can manipulate all CRUD operations like:

  • Get more information about some Game Nights;
  • Create new post;
  • Edit a post;
  • Delete a post;

DB Model

dbModel

Development routine

April 16

- Project created;
- Post Controller created;
- Post Model created;
- Bootstrap and simple_form added;
- Show page created;
- Edit page created;
- Migration do add user avatar on post created;
- Using position relative and absolute on CSS to insert join btn;
- Adding Model Comment that references Post on database;
- Comments Controller created with his actions;
- Adding CSS to index page;
- Fix some CSS.

April 17

- Fix a bug on New Comment route;

April 18

- Adding user comment on game night room;
- Adding CSS to each comment;
- Update readme.

About

A simple rails project to help people to meet up to play together. A user can read, edit or delete a post.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published