Hello,
in the index.js file there is index.js
const agent = createAgent({
// Security tokens
authSecret : process.env.FOREST_AUTH_SECRET,
envSecret : process.env.FOREST_ENV_SECRET,
// Make sure you set NODE_ENV to 'production' when you deploy your project
isProduction : process.env.NODE_ENV === 'production',
// Autocomplete collection and field names
typingsPath : './typings.ts',
typingsMaxDepth : 5,
}) ;
isProduction : process.env.NODE_ENV === 'production',
What exactly is it used for?
Thanks in advance
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”, - Database type: Postgresql
- Recent changes made on your end if any: Adding a new datasource