Skip to content

Social Media Application similar to Instagram made using Ruby on Rails. Hosted at : https://social-cloud-sk17.herokuapp.com/

Notifications You must be signed in to change notification settings

shashwatkathuria/SocialCloud

Repository files navigation

SocialCloud Status completed Ruby On Rails 5.0.7.2 Ruby 2.5.1 AngularJS 1.6.8 forthebadge made-with-ruby forthebadge made-with-javascript


ABOUT THE PROJECT

This project provides the features of a social networking site with features involving posting images with captions and headings, following others, searching for other users, user authentication and authorization, editing profile, signing up etc. online. It basically resembles Instagram. This project is implemented using Ruby on Rails Framework (Ruby), AngularJS, Javascript, HTML(Bootstrap), CSS, Heroku, MongoDB and MongoDB Atlas.


TECHNOLOGIES USED

  • Ruby on Rails 5.0.7.2
  • Ruby 2.5.1
  • AngularJS - 1.6.8 ( Javascript Framework )
  • SQLLite / PostgreSQL / MongoDB (v3.6.3)
  • Bootstrap ( HTML / CSS / Javascript )

INSTRUCTIONS TO RUN THE PROJECT

Type the following commands in sequential order:

          bundle update      (To update all gems)
          bundle install     (To install all gems)
          rails s

For testing:

          bundle exec rspec spec (From root directory)               

Main Components of Application


App folder contains the main application logical component.

  • In assets folder all the javascript, manifest of javascript and bootstrap etc can be found alongwith the angularJS module and other declarations.
  • In controllers folder all the controllers regarding posts, users, welcome(root page), etc can be found.
  • In models folder all the structure of user and post class can be found.
  • In views folder all the html can be found alongwith layouts, etc.

Config folder contains all the configuartion specific files and details.

Db folder contains all the migrations, test database (partial), schema of database etc.

Spec folder contains the application testing component.

Following are the users for the application(master branch - development mode):


NOTE

MongoDB needs to be installed on machine and configured using mongoid. Refer to mongoid.yml inside config folder and mongoid documentation for further details.