All discussions

New Discussion

Dynamic Dropdown

@aaron-ford
@aaron-ford Adocasts Plus

I have a page with two dropdowns. I want the second to populate depending on the option selected in the first. Using the PlotMyCourse code as an example, lets say you have a dropdown to select your organization, and when you select it, the ...

1
95

Component Delay

@aaron-ford
@aaron-ford Adocasts Plus

I made a table for county data. The two columns of importance are the id and name. In my controller in the index function I pass a CountryDto to the page: countries: CountryDto.fromArray(await Country.all())In the page, I list it in my propsconst...

5
299

How to paginate with DTOs?

@aaron-ford
@aaron-ford Adocasts Plus

I am trying to implement pagination in my user index page, but I think it is breaking because the pagination logic adds meta data into the user data, so the UserDTO.fromArray(users) ends up returning an empty array. I was reading online that...

EdgeJS extension for Zed code editor

@hexacker
@hexacker Adocasts Plus

Hello folks,Since I met AdonisJS, I adopted it to be my main framework for building web apps, I would love to thank the team behind it for this amazing work.Recently, I rediscovered Zed editor, which is the fastest code editor I have ever used...

5
1,268

Averaging over time period and grouping by properties

@swarnim
@swarnim

So i have a adonis model where i store propertyValue and each entry has a timestamp (ISO 8601). There are several properties which is related via a propertyId. So my objective is to aggregate data and get averages over a day for a particular...

about websockets

@manas-marthi
@manas-marthi

are there any videos on using websockets? I want to use websocket to send requests to backend to initiate long running tasks and and then receive push notifications from server when the jobs are finished

1
687

Is there any point in putting try/catch statements in each method of a controller?

@alexys-laurent
@alexys-laurent

I'm using Adonis JS as the API for my application. For each method in my controllers, I add try/catch statements to handle errors and return a response to my front-end in case one occurs. async createDiscussion({ request, auth, response }:...

Inertia + React - Change URL but open modal (No full navigation)

@michel-mbili
@michel-mbili

Working with Adonisjs + Inertia + React. I want to show details of a user by clicking on it. I want the url to change but a modal opening instead of a full navigation Do you have an idea of how can accomplish that?

I made a WhatsApp group of businesses/freelancers using Adonis

@vladimir-laskin
@vladimir-laskin

Hey there, Tom, firstly I would like to thank you for the amazing content that you have been putting out » I am still somewhere around the mid-way through your let's learn Adonis v6 guideline, but have learnt a great deal. I have made a WhatsApp...

2
757

SharedData Problem - Inertia + React

@michel-mbili
@michel-mbili

here is my inertia.ts sharedData: { greetings: 'bonjour', user: (ctx) = ctx.auth.user, errors: (ctx) = ctx.session?.flashMessages.get('errors'), }, Here is a page:interface Props extends PageProps {} const SigninPage = () = {...

6
1,347

Adonis + Docker

@ab-ab
@ab-ab

Hello, Is there a lesson talking about adonis development / deployment using docker docker-compose?

9
1,583

About packaging in adonisjs + inertia

@rajeeb-shakya
@rajeeb-shakya

Can i create a packages in adonisjs with inertia ? is there any lessons in here?

3
755

Vue Sortable

@memsbdm
@memsbdm

Hi @tomgobich ! I have a quick question concerning your inertia course. On your deployed app, there is the Sortable feature on the /courses page. I could not find the corresponding code on your repo or your other branches on GitHub. Can you...

4
3,026

building-with-adonisjs-and-inertia repository setup error on local machine.

@thiago-domingues
@thiago-domingues

Hello I'm trying setup this project: https://github.com/adocasts/building-with-adonisjs-and-inertia on my local machine and I'm getting this error: [postcss] /home/thiago/study/node/building-with-adonisjs-and-inertia/inertia/components/SettingsShell...

Passing parameters to the router line

@oliverwhite
@oliverwhite

Hello, sorry to bother you, but could you tell me if it is possible to build a URL address in which the :city parameter will specify different cities, for example: /fly-to-amsterdam or /fly-to-parisI tried to make a router like /fly-to-:city...

3
982

Not able to share flash messages to frontend with inertia

@deniz-elderenbos
@deniz-elderenbos

I can't figure out how to get flash messages to my frontend with inertia.. // config/inertia.ts sharedData: { notifications: (ctx) = ctx.inertia.always(() = ctx.session?.flashMessages.get('notifications')), } // app_controller....

shared data in inertia config is not coming into vue props

@ryan-clare
@ryan-clare

Out of the box, the adonis inertia.js config file had this section of code:sharedData: { user: (ctx) = ctx.inertia.always(() = ctx.auth.user), }, But in my vue components, when I add user to defineProps it is undefined.What am I missing...

3
920

Recently from today i am getting error on node package on adonisjs

@rajeeb-shakya
@rajeeb-shakya

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ts-node-maintained' imported from /data/disk1/docker-projects/adonisjs/adonis-inertiajs/code/ace.js while using augument chat it gives result The issue is that ts-node-maintained is a deprecated...

Delayed Page Rendering on Tab Focus

@cortesbr
@cortesbr

When I switch browser tabs and return to a page after some time (for example, https://adocasts.com/series/lets-learn-adonisjs-6/lessons/filtering-by-users-watched-status), the page initially appears blank. However, if I wait a moment or click...

3
804

Add a webhook endpoint to AdonisJS web app | FIXED

@hexacker
@hexacker Adocasts Plus

I'm just getting started with AdonisJS, I used the web app template, and now I need to add a webhook endpoint, so I can receive events from third-party platforms(such as payments) how can I do that.Excuse my newbie question.UPDATEFixed it, ...

4
1,536

Showing 1 to 20 of 37 results

New Discussion
Topic