Skip to content

This repo includes intial code for social media app. Its purpose is to be a starting point for Microverse students.

License

Notifications You must be signed in to change notification settings

AbdumurodovaZulfizar/ror-social-scaffold

 
 

Repository files navigation

Mini Insta

This is a social app to chat with friends. On this you can send friend request to each other and share posts.

Example

Business requirements:

As a guest:

  • I want to be able to create account/log in.
  • I can see only “Sign in” and “Sign out” page.

As a user:

  • I want to be able to see all users list.
  • I want to be able to see selected user page with their user name and all posts written by them (the most recent posts on the top).
  • I want to be able to send a friendship invitation.
  • I want to 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 want to be able to see pending friendship invitations sent to me from other users.
  • I want to be able to accept or reject friendships invitation.
  • I want to be able to create new posts (text only).
  • I want to be able to like/dislike posts (but I can like single post only once).
  • I want to be able to add comments to posts.
  • I want to be 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 page should be the root page of the app.

Built With

  • Ruby Language
  • Ruby on Rails
  • Git  Git
  • GitHub  GitHub
  • Visual Studio Code  VScode

Getting Started

Prerequisites

  • Node
  • Rails
  • Yarn
  • Git
  • Node

Clone this repository on to your local PC

  • Click on the Code green button
  • By the right end of the read-only input containing the repository link click the clipboard icon to copy the link
  • In your local PC, open your terminal in the folder you would like to clone the repository into
  • Clone the repository with the command: git clone (copied link); like so: git clone https://github.com/AbdumurodovaZulfizar/ror-social-scaffold
  • After the clone, type in the command cd ror-socail-scaffold to access the directory on the terminal
  • Then run bundle update to update gem file
  • And type bundle install to load all gems in this folder.
  • After run rails db:migrate for migration.
  • Type rails s on the terminal, and type localhost:3000 on your browser.
  • And then you can Sign In.

Prerequisites

  • Ruby: 2.7.0
  • Rails: 5.2.3
  • Postgres: >=9.5

To run test

  • cd into ror-social-scaffold
  • type bundle exec rspec

Live Demo

Mini Insta

Authors

👩🏻‍💼 Zulfizar Abdumurodova

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse for international opportunities.
  • Special thanks to all code reviewers.
  • AppAcademy and FreeCodeCamp for their open source

📝 License

Copyright 2021 Zulfizar Abdumurodova

  • MIT for this project.

About

This repo includes intial code for social media app. Its purpose is to be a starting point for Microverse students.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 65.3%
  • HTML 25.5%
  • SCSS 7.7%
  • JavaScript 1.3%
  • CoffeeScript 0.2%