Important
This is the shared core of the Forest v1 Express agents, in maintenance mode. It receives fixes but no new features. Starting a new project? Use agent-nodejs, the current Node.js agent. Already on a v1 Express agent? Follow the v1 to v2 migration guide.
forest-express is not used on its own. It holds the routes, authentication, permissions and serialization shared by the two v1 Express agents, which depend on it:
| Your ORM | Install |
|---|---|
| Sequelize (SQL) | forest-express-sequelize |
| Mongoose (MongoDB) | forest-express-mongoose |
Setup instructions are in the README of each one.
| Node.js | >= 16 (CI runs on 24) |
| Install a v1 Express agent | https://docs.forest.app/legacy/javascript-agents/how-tos/setup/install |
| v1 reference guide | https://docs.forest.app/legacy/javascript-agents/reference-guide/models/overview |
| Agents overview | https://docs.forest.app/legacy/agents-overview |
| Migrating to v2 | https://docs.forest.app/guides/migration/from-v1/overview |
Bug fixes are welcome; new features go to agent-nodejs. See CONTRIBUTING.md for setup, tests and commit conventions.
yarn install --frozen-lockfile && yarn build && yarn testApache 2.0. See LICENSE.