This project was built on top of my knowledge of RoR.
It's a social media app similar to Twitter but focused on chess players.
As a guest user:
- You will be able to create an account/log in.
- You can see only “Sign in” and “Sign out” page.
As a logged-in user:
- You will be able to see all users list.
- You will be able to see selected user page with their user name and all gambits written by them (the most recent posts on the top).
- You will be able to follow a user.
- You will see a button “Follow” next to the name of the user who you are not following yet - on both users’ list and single-user page.
- You will be able to create new gambits (text only).
- You will be able to like/dislike gambits (but you can like a single post only once).
- You will be able to add comments to gambits.
- You will be able to see “Timeline” page with gambits (with the number of likes and comments) written by you and all the user's you are following (the most recent posts on the top).
- Timeline page is the root page of the app.
- You can add your profile photo and your cover photo.
- You can search for a user or a keyword inside a gambit.
- Ruby v2.6.5
- Ruby on Rails v5.2.4
Gems used:
-
Devise (for user authentication)
-
Simple_form
-
Omniauth
-
Omniauth - Facebook
-
Faker
-
Will Paginate
-
Gems used for testing:
- Capybara
- Selenium webdriver
- Chromedriver helper
- Database cleaner
- Rspec-rails
- Shoulda matchers
-
Rubocop
To get a local copy up, clone it and running follow these simple example steps.
- Ruby: 2.6.5
- Rails: 5.2.3
- Postgres: >= 9.5
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Create users with:
rails db:seed
Log in with email: 'example-{add a number between 1-50}@microverse.org', and password:'password'
Start server with:
rails server
Open http://localhost:3000/
in your browser.
rpsec
- App deployed in Heroku.
- Add Twitter and Facebook authentication
👤 Javier Oriol Correas Sanchez Cuesta
- Github: @javitocor
- Twitter: @JavierCorreas4
- Linkedin: Javier Oriol Correas Sanchez Cuesta
Contributions, issues and feature requests are welcome! Start by:
- Forking the project.
- Cloning the project to your local machine.
- cd into the project directory.
- Run git checkout -b your-branch-name.
- Make your contributions.
- Push your branch up to your forked repository.
- Open a Pull Request with a detailed description of the development branch of the original project for a review.
Give an ⭐️ if you like this project!
- Microverse
- Stackoverflow
MIT License