Giter Club home page Giter Club logo

rails_mock_facebook's Introduction

README

INFO

  • This project was completed following the final RoR project of The Odin Project
  • I came across precompiling errors when trying to deploy to heroku. I spent a lot of time (about an hour of half of trying to bugfix) googling fixes and following the messages heroku provided as well.
    • Ultimately, the problem had to do with the way I decided to install tailwindcss from the start and using bug fixes that worked using other install methods.
    • To get heroku working with tailwind.css, I googled "heroku tailwind css precompiling assets failed" to which I found this thread where one user stated the problem I ultimately was dealing with--Using both NPM and Yarn.
      • I deleted package-lock.json and yarn.lock then ran yarn install and deleted /public/assets and finally git push heroku main worked once again.
  • I ran into issues with signing in/up with Facebook as well. What ultimately worked was switching public_profile to advanced access for my Facebook devleoper app, then adding the omniauth-facebook callback https://..../users/auth/facebook/callback to the Valid OAuth Redirect URIs section of Facebook Login

TO DO

  • Code refactoring for better reusability
  • Make posts also allow images
  • Use Active Storage to allow users to upload photos to their profile
  • Make post able to be either text or photo by using a polymorphic association
  • Style with html/css
  • Add client feedback if login fails

GEMS

RESOURCES

rails_mock_facebook's People

Contributors

raymart-evangelista avatar

Watchers

 avatar

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.