Expand my Community achievements bar.

SOLVED

Expose REST API via firefly

Avatar

Level 2

Hi there,

 

is there any documentation helping to guide one of my devs?

 

We need to create a Service on Firefly which should expose an API Endpoint to CRUD some data.

Anyone can point me to the right direction?


Best

M

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @martina54439202 

 

The App Builder (formerly known as Project Firefly ) docs can be found here https://developer.adobe.com/app-builder/docs/overview/

You can bootstrap a headless app with the command: 

aio app init --no-extensions

then you can select the components to enable for this app, choose "Actions" to deploy I/O Runtime actions. 

You can add new actions to your app with:

aio app add action


For storage, you can use either one of the following options depending on your use case: 


I recommend to read through the Todo App Code Lab that shows how to build a Todo App with App Builder using aio-lib-state as storage library and React Spectrum components.

 

Regards,

Stephan

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi @martina54439202 

 

The App Builder (formerly known as Project Firefly ) docs can be found here https://developer.adobe.com/app-builder/docs/overview/

You can bootstrap a headless app with the command: 

aio app init --no-extensions

then you can select the components to enable for this app, choose "Actions" to deploy I/O Runtime actions. 

You can add new actions to your app with:

aio app add action


For storage, you can use either one of the following options depending on your use case: 


I recommend to read through the Todo App Code Lab that shows how to build a Todo App with App Builder using aio-lib-state as storage library and React Spectrum components.

 

Regards,

Stephan