New agent - best practices nodejs

Hey guys,

Hope you’re doing well. Is there a project template / documentation / video showing best practices migrating to new agent please ?
We’ve started the migration & we’d like to have a clean project, for instance tips to prevent index.js from becoming a long file.

Thanks in advance for your help.

Context

  • Project name: Nostrum Care v3
  • Team name: Op
  • Environment name: development
  • Agent (forest package) name & version:
    @forestadmin/agent”: “^1.0.0”,
    @forestadmin/datasource-sequelize”: “^1.5.21”,
    @forestadmin/datasource-sql”: “^1.0.0”,
    “dotenv”: “^16.0.1”,
    “pg”: “^8.8.0”,
    “sequelize”: “^6.33.0”
  • Database type: Postgresql
  • Recent changes made on your end if any: …

Hey Nadia :wave:

Happy to see you again, and very glad to read that you finally started your migration to agent NodeJS! :wink:

You can refer to our official documentation to find examples or code snippets.

@Steve_Bunlon already showed you some useful tips during our last meeting, and our tech team could answer if you have more question: please just start a new thread for each precise question you might have.

Hi Lionel,

Thanks for reaching out and the documentation.
Will do !

Have a nice day.

1 Like