Frontend and backend development

Depending on which area of the project code you want to use, there are different ways for approaching the code.

  1. Frontend development using staging
  2. Frontend development using a Frontastic Machine
  3. Backend development (using a Frontastic Machine)

1. Frontend development using Staging

The easiest and fastest way for frontend development with Frontastic is to use the Staging environment of your Project as the backend. All you need is a recent version of yarn and Frontastic CLI.

Follow the instructions on the Frontastic CLI documentation to get started with development in no time.

2. Frontend development using a Frontastic Machine

There are cases when you don't want to use Staging as a backend for frontend development. Examples for such cases are:

  • There's a new backend feature available which is still under development (and therefore not on Staging, yet) but you need it for your frontend work
  • You need to look into backend logs or debug backend code while working on the frontend
  • You work on something brand new which is not allowed to be exposed to the Staging data set in the editor, yet

In these cases, you can log into the Frontastic Editor of your project and boot up a Frontastic Machine for your case. To do this, follow the steps in the Bringing up a Frontastic Machine article.

3. Backend development (using a Frontastic Machine)

If you need to work on the Backend-for-Frontend of your project you'll also need a Frontastic Machine but you'll also need to set up code synchronization. You can see how to do this in this article.

‹ Back to article list

Next article ›

Frontastic CLI

Still need help? Contact us Contact us