Need help getting started on a project

Need advice on how to go about a project. I have a base project that handles common data and related configurations shared across many projects. I plan to have many projects use these shared services. Is it possible to expose the common shared project with all the other projects? It would be ideal to be able to reference a project from another project and allow related connections/endpoints to be consumed by the other projects - or perhaps there is another way that Wappler can do this? I plan to use the PWA boilerplate project to start with.

You can appoint one of your project as an API offering global services for the other projects.

This is done by just defining server actions in server connect in Wappler and uploading those to a web server. It is nice to have an unique website for this like: api.yoursite.com

You can then just reuse those server connect in other Wappler projects - just when you need them choose that they are coming from your API project.

This is how we do mobile app data connectivity as well.

Thanks @George! How do I “appoint” a project? Is that a setting? Or do you mean in the general sense of just creating an API endpoint service? I guess I’m wondering how do I “import” the server connect into other projects? Is there a single file I just copy over from the shared project or something? I am a very experienced developer, so just need to get quickly oriented in the correct direction. :wink:

Hi James,
Please check the following tutorial:

It explains how to setup an API project which can then be reused across multiple other projects (not necessarily mobile or desktop). Hope that’s what you are trying to achieve :slight_smile:

1 Like

Thank you! :slight_smile: