Expose REST API via firefly | Community
Skip to main content
martina54439202
Level 2
October 11, 2021
Solved

Expose REST API via firefly

  • October 11, 2021
  • 1 reply
  • 5270 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by StephanAdobe

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

1 reply

StephanAdobe
Adobe Employee
StephanAdobeAdobe EmployeeAccepted solution
Adobe Employee
October 11, 2021

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