Build a booking app in less than an hour with Rails and Avo Admin

In this video, we'll build a fully-functioning booking app in less than an hour.
We'll start by installing Rails, devise, active storage, and Avo Admin and proceed to configure our models and resources. We'll talk about filtering, actions, search, and dashboards.
Repo with the code:
github.com/avo-hq/avobookr
Another more full-fledged demo app:
avodemo.herokuapp.com/
Avo website:
avo.cool
0:00 - Intro
0:15 - Architecture
0:58 - Install Rails and Devise
1:45 - Install Avo
1:55 - Add the home controller
2:22 - Move Avo behind authentication
2:37 - Create the User resource
3:34 - Create location, room, and booking models
3:45 - Configure the Location resource
4:29 - Configure the Room resource
5:04 - Create a few rooms
5:30 - Add the grid view
6:40 - Configure the booking model
7:27 - Attach bookings to rooms
7:43 - Scope for future bookings
8:09 - Make field read-only
8:23 - Avo context object
8:30 - Add default value
8:54 - Configure search
9:54 - Add a dashboard
10:05 - Add metric cards
11:29 - Add a chartkick card
12:05 - Add a filter
12:58 - Add an action
14:50 - Outro

Пікірлер: 25

  • @PedroSchmitt
    @PedroSchmitt2 жыл бұрын

    Adrian, this is a fantastic job. There is a considerable improvement over the old admin gems like Rails Admin and Active Admin.

  • @avo_hq

    @avo_hq

    2 жыл бұрын

    Thank you for the kind words! Do you have something in mind that you’d like to build with Avo?

  • @josbexerra8115
    @josbexerra8115 Жыл бұрын

    Excelente mister.....saludos de los andes peruanios

  • @adrianthedev

    @adrianthedev

    Жыл бұрын

    Thank you!

  • @avo_hq

    @avo_hq

    Жыл бұрын

    🙌

  • @TentaTolu
    @TentaTolu Жыл бұрын

    This video is really helpful to my research project , Thanks for the great work but I haven’t been able to build mine as i have lots of questions

  • @avo_hq

    @avo_hq

    Жыл бұрын

    What kind of questions?

  • @benkiarie149
    @benkiarie149 Жыл бұрын

    Awesome stuff! Really awesome. That's why I love the Rails community. One error I faced is the photos are not displaying. Is that one of the pro features?

  • @avo_hq

    @avo_hq

    Жыл бұрын

    No, that definitely is not a pro feature. I assume you're not seeing the photos in your own app. That might be from an incorrect setup of the active storage gem. That's one place where I'd look. Check if the active storage gem installed properly.

  • @benkiarie149

    @benkiarie149

    Жыл бұрын

    @@avo_hq that was my second thought. Thanks for the reply. I'll dive into it and see what's missing. Stay Awesome guys, I came across Avo and ill definitely use it in all my projects and be a vocal advocate of the gem.

  • @avo_hq

    @avo_hq

    Жыл бұрын

    Much ❤️ I appreciate the help and thoughts.

  • @withrejkapermana6087
    @withrejkapermana6087 Жыл бұрын

    That's pretty fast!!

  • @avo_hq

    @avo_hq

    Жыл бұрын

    🚀

  • @glaucocustodio7070
    @glaucocustodio7070 Жыл бұрын

    This is amazing, the closest thing Ruby has compared to Django (Python framework)

  • @avo_hq

    @avo_hq

    Жыл бұрын

    Amazing 🙌 Are you a Rails developer?

  • @AlainPilon

    @AlainPilon

    Жыл бұрын

    This is a joke right?

  • @salemcodes
    @salemcodes8 ай бұрын

    Somehow, I needed to db:migrate to populate the resource file before being able to proceed with the other steps after installing avo. But everything else works fine.

  • @avo_hq

    @avo_hq

    6 ай бұрын

    Thanks for the feedback. I should redo these tutorials with the improved Avo 3.

  • @cocoarecords
    @cocoarecords Жыл бұрын

    Wow

  • @avo_hq

    @avo_hq

    Жыл бұрын

    🙌

  • @blackcoder2510
    @blackcoder25109 ай бұрын

    association what make rails little confussing

  • @avo_hq

    @avo_hq

    6 ай бұрын

    They are actually pretty powerful after you get used to them.

  • @omari3655
    @omari36552 жыл бұрын

    😳 PЯӨMӨƧM

  • @avo_hq

    @avo_hq

    2 жыл бұрын

    Hey. I don't know what is the meaning of this comment.