Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.
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

 

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