Development workflow
Last updated
Was this helpful?
Last updated
Was this helpful?
Please be sure of your agent type and version and pick the right documentation accordingly.
This is the documentation of the forest-express-sequelize
and forest-express-mongoose
Node.js agents that will soon reach end-of-support.
forest-express-sequelize
v9 and forest-express-mongoose
v9 are replaced by v1.
Please check your agent type and version and read on or switch to the right documentation.
Forest Admin lets you get started easily, but soon you'll be wondering how to set up a clean workflow to control every step of your development process.
Here's our recommended development workflow:
We've developed a CLI tool to help you seamlessly control your layout (UI) as you develop. You should first install it:
For further details on the package, check out .
This step is not necessary if you are the creator of the project, as your development environment is already generated.
To get started with forest-cli, simply run the following command in your project's folder:
This will create a development environment for you to develop locally in.
Got a new feature to develop? Create a branch based on the origin environment you want!
Your new branch is now available with a layout you can play with.
Your feature may require frontend (layout) and backend changes.
Your feature works as intended on your local branch? You now need to deploy it to your production environment:
Deploy backend changes (if any) using your usual workflow
Deploy frontend changes using the following command:
That's it! Your new feature is now available in production 🎉
For a more in-depth walkthrough of the init
command, check out .
For a more in-depth walkthrough of the branch
command, check out .
For frontend changes, use our from the branch you've just created.
Want to add a testing phase before you deploy to production? Check out how to and how to onto it.