Giter Club home page Giter Club logo

odin_facebook's Introduction

Odin Network

Odin Network is a clone of Facebook using Ruby on Rails.

Sign Up/Sign In

Sign up for an Odin Network account to access anything other than the sign in/sign up pages. All that is required to sign up is your full name, email, and password. Sign up and sign in authentications are done with the Devise gem. Once you have created a new user, you'll have access to all of the site's features.

...Or to test it out without creating an account, sign in using this example account:

email: [email protected]

password: foobar

Facebook API

If you don't want to give Odin Network all your information, use the "Sign in with Facebook" button for quick sign up. The "omniauth-facebook" gem allows Odin Network to access users' Facebook credentials and sign them in with info from their Facebook account.

Friends

Odin Network supports friending other users of the site. Click the "Users" page to see all other members, and "add friend" to send a request to a specific user. This relationship will not be finalized until that member accepts your request. The globe icon in the header will display your sent requests as well as incoming requests from other users.

From this page, you have the ability to accept or decline friend requests. Once a friendship is confirmed, friends will have access to each other's posts.

Posts

As a registered member of Odin Network, you have the ability to create posts and see your friends' posts. A user's personal posts can be created and viewed from either the home page or their profile page. The home page will also display any friends' posts for you to read, comment on, or like.

Commenting/Liking

Users can comment or like any post they find (even if not friends with the creator). They can also unlike or delete their own comments or likes once that action has been created.

User Information

Although the only information necessary for sign up is name, email, and password, once signed in a member can fill out his/her profile with additional information. Birthday, job, school, and residence are all optional details for a user's profile. Further, users may add a profile picture to show off their profile. This picture is processed by the Paperclip gem and stored with AWS S3 storage. Anyone can view these details, but a user may only edit his/her own information.

TODO

Move logic into partials

Add Ajax to post deletion

Acknowledgments

This project was created as the final assignment in The Odin Project's Ruby on Rails course. https://www.theodinproject.com/courses/ruby-on-rails/lessons/final-project?ref=lnav

odin_facebook's People

Contributors

ks927 avatar

Watchers

 avatar

Forkers

couchoftomato

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.