Git Product home page Git Product logo

mrsayyod / twitter-redesign Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 610 KB

Project: Twitter redesign (Ruby on rails capstone project) by Microverse (Created by Sayyod Saidov). Twitter clone site that allows users to share their opinions with followers. User can manage signups, share his opinions with other by posting them. Users can follow other users and vice versa.

Ruby 69.80% JavaScript 4.73% HTML 20.96% SCSS 4.50%
rails bootstrap ruby capybara-rspec shoulda-matchers html-css

twitter-redesign's Introduction

hire-badgeTwitter Follow

Twitter redesign

Twitter redesign [Project by Microverse] (Created by Sayyod Saidov)

About Project

We are expected to build the Twitter clone-site which allows users to share their opinions with their followers. User can manage signups, share his opinions with other by posting them. User can follow other users and vice versa.

Built With

  • Ruby 2.7.0
  • Ruby on Rails 6.0.3.2
  • Heroku

Screenshots

Login page Index page

Live Demo

Live version

Video Description

Twitter-redesign

N+1 query problem solution

Additional gems

  • 'bootstrap', '~> 4.5', '>= 4.5.2'
  • 'carrierwave', '~> 2.1'
  • 'font-awesome-rails', '~> 4.7', '>= 4.7.0.5'
  • 'htmlbeautifier', '~> 1.3', '>= 1.3.1'
  • 'jquery-rails'
  • 'mini_magick', '~> 4.10', '>= 4.10.1'

Tested with

  • GitHub Actions
  • 'capybara', '>= 2.15'
  • 'rspec-rails'
  • 'selenium-webdriver'
  • 'shoulda-matchers'

Getting Started

To get started, you should first get this file in your local machine by downloading this project or typing: git clone https://github.com/MrSayyod/Twitter-redesign.git

Prerequisites

  • Ruby installed on local machine (version: preferrable 2.7.0)
  • Ruby on Rails installed on local machine (version: preferrable 6.0.3.2)
  • Text editor (preferably: VSCode, Atom, Sublime)
  • Git
  • Postgres: >=9.5

Setup

If you have installed Ruby and Ruby on Rails on your machine:

  1. Clone the project into your local machine using git clone command or download the zip file.
  2. Go into the project directory using cd directory name command.
  3. Run the bundler using bundle or bundle install command
  4. Run rails server.
  5. From your default browser go to the http://localhost:3000/
  6. EXTRA: If you are developer you can test it in the Rails console using rails console command.

Testing

  1. From terminal run rails generate rspec:install command.
  2. Add shoulda-matchers gem into Gemfile. Gem should be inside of group :test(test environment).
  3. Run the bundler using bundle or bundle install command
  4. Then add code below at the end of rails_helper.rb
Shoulda::Matchers.configure do |config|
  config.integrate do |with|
    with.test_framework :rspec
    with.library :rails
  end
end
  1. Run rspec .

Contributing

๐Ÿค Contributions, issues and feature requests are welcome!

Start by:

1. Forking the project
2. Cloning the project to your local machine
3. cd into the project directory
4. Run git checkout -b your-branch-name
5. Make your contributions
6. Push your branch up to your forked repository
7. Open a Pull Request with a detailed description to the development branch of the original project for a review

Please feel free to contribute to any of these!

Feel free to check the issues page.

๐Ÿ‘ค Author

๐Ÿ‘จโ€๐Ÿ’ป Sayyod Saidov

Show your support

Give a ๐ŸŒŸ if you like this project!

Acknowledgements

๐Ÿ“ License

This project is MiT licensed.

twitter-redesign's People

Contributors

mrsayyod avatar

Stargazers

 avatar  avatar

Watchers

 avatar

twitter-redesign's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.