Ruby on Rails App Creation and Initial Configuration

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 66

  • @IneeAder
    @IneeAder 3 ปีที่แล้ว +6

    Went through this whole course and followed everything exactly and I must say, it was SUPER smooth. No errors or problems with troubleshooting, and I did this January 2021. It still holds up with new versions of Rails and React. Loved this course, now I have a front and back end template in my github to clone down anytime I want to make an app with user login/auth. Thank you for these well-planned, excellently executed videos with CLEAR instruction and great explanations.

    • @edutechional
      @edutechional  3 ปีที่แล้ว +1

      Thanks for the kind words, I'm glad that you enjoyed it!

  • @Aaronmoreno
    @Aaronmoreno 2 ปีที่แล้ว +1

    you are seriously the best rails teacher I've found. Thank you!

  • @adebola5118
    @adebola5118 4 ปีที่แล้ว +1

    This is the best React + Rails Auth video you will find on the internet for FREE. We need to keep this somewhere for posterity.

    • @edutechional
      @edutechional  4 ปีที่แล้ว +1

      Thanks for the kind words!

  • @iliatalebzade8751
    @iliatalebzade8751 2 ปีที่แล้ว +1

    finding your channel felt like finding gold man
    all your contents have interesting topics and the explanation is spot on
    please do keep up the good work!

  • @JeremiahParrack
    @JeremiahParrack 5 ปีที่แล้ว +3

    Really like your courses, excited to go through this one.

  • @SouravTechLabs
    @SouravTechLabs 4 ปีที่แล้ว +2

    Wow! That's an awesome video Jordan! Very educative...

  • @sheko4515
    @sheko4515 ปีที่แล้ว +1

    Are you planning to create Ruby on Rails 7 new course ? Like the old one for 5 on udemy, I think we need ruby 3 and Ruby on Rails 7 kind in details new course, think about it please.

  • @Geomaverick124
    @Geomaverick124 5 ปีที่แล้ว

    Awesome! I have been wanting to combine Rails and React. Really cool! Keep up the good work

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      Awesome! I hope you enjoy it!

  • @fooked1
    @fooked1 4 ปีที่แล้ว

    Would be nice if you could expand on the advantages/disadvantages of this approach for auth over using a library like devise, sorcery, etc.

    • @edutechional
      @edutechional  4 ปีที่แล้ว

      It really comes down to personal preference. Libraries like that can work well, but I don't like introducing libraries unless they're absolutely needed.

  • @Juubi12
    @Juubi12 5 ปีที่แล้ว +1

    First off, I love this, it's exactly what I've been looking for. I have one question though, would I need to have my react application and rails application separate? Or could I do all of this while having everything live on the same app? (using react-rails). If you recommend keeping them both separate, could you explain why?

    • @edutechional
      @edutechional  5 ปีที่แล้ว +1

      You can definitely keep them in the same app. I personally like having them separated, it makes it more straightforward to have teams working on separate applications.

    • @Juubi12
      @Juubi12 5 ปีที่แล้ว +1

      edutechional so then if they’re in the same application, the domain in Cors and session_store would be the same right?

  • @joshuagalit6936
    @joshuagalit6936 ปีที่แล้ว +1

    Does this work on Rails version 7+?

    • @graveetone
      @graveetone ปีที่แล้ว

      I tried things from this first video of the course, for now it works for me

  • @danielefe3773
    @danielefe3773 5 หลายเดือนก่อน

    thanks but how then do react send data to the rails backend passing the auth token as header, then rails checks if the token is validated

  • @tomyang635
    @tomyang635 3 ปีที่แล้ว

    Seems like a pretty clear tutorial, mate, well done. I've got a quick question for ya. I'm trying to build a blog where certain posts are only available to subscribed users. If I wanted to add a payment method to the user model (like charge $10/month as a subscription model via paypal or stripe for example), do you have any advice on certain gems or libraries I could use to implement this?

    • @edutechional
      @edutechional  3 ปีที่แล้ว

      I'd personally use Stripe, they have a great gem and examples for how to build that out

  • @BlurryBit
    @BlurryBit 4 ปีที่แล้ว

    1:11, cocaine? :D
    Tutorial looks awesome. Thanks man. :D

  • @sergeyb6071
    @sergeyb6071 3 ปีที่แล้ว

    gosh I wish I could master VIM like you do!

    • @edutechional
      @edutechional  3 ปีที่แล้ว +1

      Just takes practice! I also have a course specifically on how I use Vim here: www.udemy.com/course/vim-training-course-ruby-developers/

  • @aFEWwanderingALBINOS
    @aFEWwanderingALBINOS 4 ปีที่แล้ว

    Thank you for the tutorial! I have a question, I am starting to build a webapp and I used your tutorial to implement auth. However I recently was reading about how mobile apps use tokens. So say I want to create an iOS app in the future, will I have to add JWT to rails to use the same api? Or will I have to scrap the cookie authentication and just use JWT? Is there a way people get around this, Ik companies like facebook and gmail still use cookies so there must be a good solution. Sorry I am new to web dev.

  • @hernanandresprovostevenega3865
    @hernanandresprovostevenega3865 5 ปีที่แล้ว

    Hi dear, excellent your videos, that it's exactly to need for my app. So, i have a cuestion about the complete rails app vs api rails app. Why do not use the api flag? I don't understand this part, because in everything sites, i saw the developers works to api flag as back end. What it is the best practice for this cases?

  • @wbjxfkwsklejfde34d
    @wbjxfkwsklejfde34d 3 ปีที่แล้ว

    If the react app is an embedded app, can we dynamicly add the allowed origins? So create one per record in a database list of sites it is embedded on?

  • @ryanb55
    @ryanb55 ปีที่แล้ว

    Would this method work for non-browser apps?

  • @wbjxfkwsklejfde34d
    @wbjxfkwsklejfde34d 3 ปีที่แล้ว

    For the session_store is it required to set up different values for stage, dev and prod environment? or is just the string of the production domain enough to give it a unique value?

  • @jkcleave
    @jkcleave 4 ปีที่แล้ว

    Hi, thank you for the very informative videos you are an amazing teacher.
    I have one question, you mention you don't like to use the api_only flag because you would have to add in some functions anyway to access the session.
    I have been developing a full api app and just now i have faced this issue about the sessions. How should i configure my app to overcome this problem and get full access to sessions?

    • @edutechional
      @edutechional  4 ปีที่แล้ว

      You can add those features back into the config/application.rb file

  • @glyphicon330
    @glyphicon330 5 ปีที่แล้ว

    Awesome Great channel, I just got subscribed

  • @mukeet
    @mukeet 8 หลายเดือนก่อน

    When was the last time you used mouse…

  • @arithmetics
    @arithmetics 5 ปีที่แล้ว

    Hello. Followed this through and it was great. Could i use this method more or less but use the devise gem as well so I get all that built in functionality? Or would the necessitate moving to a token based auth system?

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      If you use devise, you would need to use their built in methods for sign in and sign out, along with checking for the authentication, that's why I didn't use them in the course.

    • @arithmetics
      @arithmetics 5 ปีที่แล้ว

      @@edutechional got it. What I'm asking is lets say i set up devise like normal for session based auth. would your react setup work with my hypothetical backend? (as long as i add cors and the other configurations you did)

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      Yes, you would just need to use the built in helper methods that Devise provides.

    • @arithmetics
      @arithmetics 5 ปีที่แล้ว

      @@edutechional awesome, thanks for the help youre the man

  • @karlhodor5015
    @karlhodor5015 5 ปีที่แล้ว

    awesome, could you do a video about your current terminal and vim configuration?

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      I actually have a full course on my vim config, you can see the intro for it here and it also has a coupon code if you're interested in the full one: th-cam.com/video/zKxAV_RlGnU/w-d-xo.html

  • @LiaAdzumi
    @LiaAdzumi 3 ปีที่แล้ว

    Hi,
    Can you update your Rails and Angular 2 course on Udemy?
    It was good course, but it too old now ...
    Please update it.
    Thanks.
    I am Nyoman, from Bali, Indonesia

    • @edutechional
      @edutechional  3 ปีที่แล้ว

      I will, I'm also going to include a project that includes React

  • @ilhaamrahmanful
    @ilhaamrahmanful 4 ปีที่แล้ว

    Hi thanks for sharing this! I've already implement this authentication but i found a problem when i deploy to heroku the cookie is not created but it is created in local, can you help me? thanks.

    • @edutechional
      @edutechional  4 ปีที่แล้ว

      It's most likely related to Chrome blocking cross domain cookies. Both applications need to be on the same domain for that to work.

    • @ilhaamrahmanful
      @ilhaamrahmanful 4 ปีที่แล้ว +1

      @@edutechional yes it's from chrome, i found add this same_site: :none and secure: true on Rails.application.config.session_store solve the problem.

  • @danielwelzel5587
    @danielwelzel5587 4 ปีที่แล้ว

    How can I access the postgresql database now through the command line?

    • @edutechional
      @edutechional  4 ปีที่แล้ว

      In a Rails application, you can change into that directory and run the command: rails c
      That will open up the Rails console and give you access to the database. Alternatively, you can also run the psql command to access the database directly.

  • @fabiobarboza7
    @fabiobarboza7 4 ปีที่แล้ว

    clearly explained

    • @edutechional
      @edutechional  4 ปีที่แล้ว

      Thanks!

    • @fabiobarboza7
      @fabiobarboza7 4 ปีที่แล้ว

      @@edutechional Suggestion next videos action cable for Rails restFul api with react!

  • @tamayeseruysal7405
    @tamayeseruysal7405 5 ปีที่แล้ว +1

    I hope it will be a full tutorial

    • @edutechional
      @edutechional  5 ปีที่แล้ว +2

      I hope you like it, I'm releasing a new tutorial everyday for the next 8 days, this is part 1 of 8.

    • @tamayeseruysal7405
      @tamayeseruysal7405 5 ปีที่แล้ว

      ​Wow @@edutechional it's the best news I heard these days!

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      Just published episode 2: th-cam.com/video/FwfsMv2kSX4/w-d-xo.html

  • @kirkchu7304
    @kirkchu7304 5 ปีที่แล้ว

    Why is with_credentails so important?

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      That's what sends the cookies from the front end to the server.

  • @jaimeandres1041
    @jaimeandres1041 5 ปีที่แล้ว +1

    when udemy course ?

    • @edutechional
      @edutechional  5 ปีที่แล้ว

      Right now I'm just posting on here and for the Bottega Code School.

    • @davidash1026
      @davidash1026 5 ปีที่แล้ว

      @@edutechional where is it located on the Bottega Code School, I can't find it?

  • @thechosenone8523
    @thechosenone8523 3 ปีที่แล้ว +1

    313th Like :)

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 5 ปีที่แล้ว

    Beginners ?

    • @edutechional
      @edutechional  5 ปีที่แล้ว +2

      For beginners, I recommend to start off with my Dissecting Rails course, you can see it here: www.udemy.com/professional-rails-5-development-course/

    • @solidstatejake
      @solidstatejake 5 ปีที่แล้ว

      It really is an amazing course.