Quick start
Let's get you up and running on Forest Admin in minutes!
Last updated
Let's get you up and running on Forest Admin in minutes!
Last updated
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.
Go to , create an account and install your project.
For the purpose of this tutorial, we have used . Feel free to use it if you don't have one.
At the end of your onboarding, you will out-of-the-box be able to:
Access all your data (1)
Export your data (2)
Add a record (3)
View and edit a record (4)
Edit your UI (5)
Search and filter (6)
However, your business logic likely requires more features. What if you need to...
refund an order
upload new documents, accept or reject them, or ask customers to update their documents,
contact a customer or ask a team member to perform an action,
and much more?
Let's say you want to let your customer support team to easily refund orders, you can quickly create a smart action.
Declare it in your /forest/orders.js
file:
Then implement it according to your business logic:
You must make sure that all your Smart Actions routes are configured with the Smart Action middleware: permissionMiddlewareCreator.smartAction()
. This is mandatory to ensure that all features built on top of Smart Actions work as expected (permissions, approval workflows,...).
Congrats! Now it's possible to refund an order!
Now that you have a fully functional admin panel, the next logical step is to make it live, with your live (production) data. Click on Deploy to Production and follow the flow.
That's it! You are now fully operational on Forest Admin.
It's possible with smart actions
You may have to to enable the domain app.forestadmin.com
to trigger API call on your Application URL, which is on a different domain name (e.g. localhost:8000).
You may have to to enable the domain app.forestadmin.com
to trigger API call on your Application URL, which is on a different domain name (e.g. localhost:8000).
Next, we recommend reading about our recommended .