This repo presents a social media app called “Stay in touch”.
As a guest user:
-
I'm able to create account/log in.
-
I can see only “Sign in” and “Sign out” page.
As a logged-in user:
-
I'm able to see all users list.
-
I'm able to see selected user page with their user name and all posts written by them (the most recent posts on the top).
-
I'm able to send a friendship invitation.
-
I can see a button “Invite to friendship” next to the name of user who is not my friend yet - on both users’ list and single user page.
-
I'm able to see pending friendship invitations sent to me from other users.
-
I'm able to accept or reject friendships invitation.
-
I'm able to create new posts (text only).
-
I'm able to like/dislike posts (but I can like single post only once).
-
I'm able to add comments to posts.
-
I'm able to see “Timeline” page with posts (with number of likes and comments) written by me and all my friends (the most recent posts on the top).
-
Timeline is the root page of the app.
-
Confirmed friendships creates 2 rows in the query.
- Ruby v2.7.0
- Ruby on Rails v5.2.4
To get a local copy up and running follow these simple example steps.
Ruby: 2.7.2 Rails: 5.2.4 Postgres
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Start server with:
rails server
Open http://localhost:3000/
in your browser.
rpsec --format documentation
👩🏼💻 Ana Paula Hübner
- GitHub: @anapdh
- LinkedIn: LinkedIn
- Twitter: @dev_anahub
👤 João Paulo Dias
- GitHub: @jpdf00
- Twitter: @jpdf00
- LinkedIn: João Paulo Dias França
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.