Back

Getting started with code structure

  • 0
  • Databases
  • Functions
  • Web
  • REST API
alihassaneddehbi
16 Mar, 2024, 13:36

Hi everyone,

I'm just getting started with Appwrite and I'm building a financial and administrative management app with an admin dashboard. Since it involves complex features, using the GUI for events and functions seems inefficient.

Could you please help be wether my approach is ont the right track, or maybe should i proceed on a different basis

1 Separate Event Files: I'll create separate files for events specific to each feature, including database events. 2 Dedicated Cloud Function Folder: Cloud functions will have their own dedicated folder. 3 Cloud Functions & Events: Cloud functions will only communicate with events using HTTP requests. 4 Database Access: I'll primarily use the "call by name" approach for database access (naming conventions for collections and documents). 5 Webhooks: Webhooks will be used selectively for actions like email and notifications.

THank you in advance

TL;DR
Developers are organizing a financial app with Appwrite. They plan to separate event files, have a dedicated cloud function folder, let cloud functions communicate only through HTTP requests, use the "call by name" approach for database access, and utilize webhooks selectively. Their approach is on the right track for building a complex app efficiently.
alihassaneddehbi
16 Mar, 2024, 13:50

Getting started with code structure

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more