Skip to content

anandrahul604/simple-social-media-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

  • A social media web application where users can create posts, comment on posts, and send messages to other users.

Premade accounts

  • admin account have usernames [admin,admin2] where username == password (username: admin, password: admin)
  • user accounts with usernames [joe,bob,jordan,ali,rahul,jordon,amy,tim,courtney,nicole] where username == pasword

Search options:

  • Search a post title by inputting a string into the text bar.
  • !top will search more posts with the most likes all time
  • !new will search more the most recently created posts
  • !like # will only show posts with at least min(#,1) likes
  • !video will only show posts with embedded video.

How to use the Cosmetics shop;

  • Everytime someone likes a post you made, you get 1 point added to your score.
  • You can use this score to purchase items in the cosmetics stroe.

How to have embedded media in your posts:

User Messaging

  • A user can send a private message to any other user that is signed up.
  • To send a message, click "Inbox" at the top right, click "New Conversation", and then enter the Subject of your conversation, the recipient you want to send the message to, and lastly the message itself.
  • To test this, log in as two seperate users in seperate browsers, and begin a conversation.
  • Messaging implmented using the mailboxer gem: https://github.com/mailboxer/mailboxer

E-mail Notifications

  • A user can choose to recieve email notifications when they first create their account.
  • If enabled, email notifications will be sent for account creation, updating your account, and when someone comments on your post.
  • Email notifications implemented using Rails's ActionMailer feature.
  • Emails will be sent from "cmpt470group9noreply@gmail.com"

Tutorials/resources used:

https://guides.rubyonrails.org/getting_started.html#creating-the-blog-application https://medium.com/@wintermeyer/authentication-from-scratch-with-rails-5-2-92d8676f6836

Unicorn config in chef file based of of class notes and the following: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04 https://deploy-preview-3018--nostalgic-ptolemy-b01ab8.netlify.app/development/ror/use-unicorn-and-nginx-on-ubuntu-18-04/

Steps to Run

  1. Have vagrant and virtual box installed.
  2. Clone the repo and run "vagrant up". Site can be accessed at localhost:8080

After running "vagrant up" it will take ~30min for VM to be ready.

About

A social media web-app where users can create posts, comments, send messages to other users, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors