App to share opinions about traveling destinations with people who follow you. The project is built for the Ruby on Rails capstone based on a redesign of Twitter.
- Ruby 2.7.1
- Ruby on Rails 6.1.1
- VS code
- Linters
travellers-tweet.herokuapp.com
- The user logs in to the app, only by typing the username (a properly authenticated login is not a requirement).
- The user is presented with the homepage (see the Homepage screenshot above) that includes:
- Left-side menu (includes only links to pages that are implemented).
- Tweets tab in the centre (skip Photos and Videos for this MVP).
- Right-side section with *Who to follow (*skip Trending for this MVP).
- The Tweets section includes:
- Simple form for creating a tweet.
- List of all tweets (sorted by most recent) that display tweet text and author details.
- The Who to follow section includes:
- List of profiles that are not followed by the logged-in user (ordered by most recently added).
- When the user opens the profile page (see the Userpage screenshot above), they can see:
- Left-side menu (includes only links to pages that are implemented).
- Cover picture and Tweets tab in the centre (skip other tabs and Tweet to user form).
- Right-side section with Profile detailed info.
- The Profile detailed info section includes:
- User photo.
- Button to follow a user.
- Stats: total number of tweets, number of followers and number of following users.
- List of people who follow this user.
- At the end extend your MVP app with one simple feature of your choice.
Ruby: 2.7.1 Rails: 6.1.1 Postgres: >=9.5
To get a local copy up and running follow these simple example steps.
- On the project GitHub page, navigate to the main page of the repository this page.
- Under the repository name, locate and click on a green button named
Code
. - Copy the project URL as displayed.
- If you're running Windows Operating System, open your command prompt. On Linux, Open your terminal.
- Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
- Type
git clone
, and then paste the URL you copied in Step 3.
$ git clone https://github.com/SarvarKh/travellers
Press Enter key - Press Enter. Your local copy will be created.
Please Note that you must have Git installed on your PC, this can be done here.
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.
rspec --format documentation
To make sure the linters' checks using Github Actions work properly, you should follow the next steps:
- On your recently forked repo, enable the GitHub Actions in the Actions tab.
- Create the
feature/branch
and push. - Start working on your milestone as usual.
- Setup Rubocop and Stylelint linters
- Open a PR from the
feature/branch
when your work is done.
👤 Sarvar Khalimov
- GitHub: SarvarKh
- Twitter: KhalimovSarvar
- LinkedIn: Sarvar-Khalimov
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
This project is MIT licensed.