All discussions

New Discussion

Default front-end stack for the default adonisjs project

@anjanesh
@anjanesh

Before I get into this, I wanted to know what's the default front-end stack in the series at https://adocasts.com/series/lets-learn-adonisjs-6 ? Is it not ReactJS / VueJS ? Or is EdgeJs like Laravel's Blade templating system ?

1
1,488
Answered
AdonisJS

A Simple Framework Based on Edge.js

Hi everyone, I’ve just released Laman.js, a simple framework that adds file-based routing with Express on top of Edge.js and integrates Vite for easier development. I’ve also built LamanHub, a hosting platform where you can deploy Laman.js ...

1
1,570

Prod Deployment

@aaron-ford
@aaron-ford Adocasts Plus

I've been trying to get my code running on a 'prod' server. I think I am close. I'm getting an error linked to the use('web').user in the config/inertia.ts file that I'm not getting locally, and not sure why. There is no user logged in on the...

7
1,683

Cloudflare R2 for Video Storage

@andrei-gae
@andrei-gae

Hi Tom,I just read your fantastic article on Adocasts, "Testing Cloudflare R2 for Video Storage," and wanted to say, great job. The solution you've outlined is really clever and I found the implementation very interesting.I'm writing because...

3
7,734

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, ...

5
2,535

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
818

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
1,515

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...

7
2,199

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
2,749

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...

3
1,027

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
1,392

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

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?

1
1,156

I made a WhatsApp group of businesses/freelancers using Adonis

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
1,535

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
2,618

Adonis + Docker

@ab-ab
@ab-ab

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

9
3,395

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
1,471

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,958

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

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...

3
1,643

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
1,949

Showing 1 to 20 of 40 results

New Discussion
Topic