/ror-social-scaffold

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

Primary LanguageRuby

"Stay in touch" Social Media Website

This social media app allows users to create posts, friend other users and then like and/or comment their posts.

Only signed-in users can have access to the apps features. When Logged-in, a user is able to see a list of all users / to see “Timeline” page with posts (with number of likes and comments) written by him and all his friends (the most recent posts on the top) / to see a selected user page with their user name and all posts written by them (the most recent posts on the top) / to create new posts (text only) / to like/dislike posts (but can like single post only once) / to add comments to posts / to send friendship invitations / to accept or reject friendships invitation / to see pending friendship invitations sent to him from other users.

Getting Started

To get a local copy up and running follow these simple example steps:

Prerequisites

  • Ruby 2.7.0
  • Rails 5.2.4 *Postgres: >=9.5
  • SQLite3
  • Node.js
  • Yarn

Setup and Install

  • Open your terminal - Windows: Win + R, then type cmd | Mac: Command + space, then type Terminal
  • Navigate to a directory of your choosing using the cd command
  • Run this command in your OS terminal: git clone git@github.com:kiranitor123/private-events.git to get a copy of the project
  • Navigate to the project's directory using the cd command
  • Migrate the database to your environment by running rails db:migrate
  • Run rails webpacker:install to configure Webpacker for your environment. Otherwise, an error like Webpacker::Manifest::MissingEntryError will appear if you attempt to run the server.
  • Install dependencies by running bundle install
  • Execute rails server to fire up the server
  • Visit http://localhost:3000/ in your browser to get into the app
  • Interact with the app using the links in the nav bar. To access private pages, sign up by clicking the Sign Up link
  • Interact with the app
  • To close the server, enter Ctrl + C in your terminal

Authors

👤 Rolando Alvarez Faye

👤 German Cobian

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

📝 License

This project is MIT licensed.# README