Express.js: Difference between revisions

297 bytes added ,  3 September 2020
Line 39: Line 39:
* [http://knexjs.org/ Knex.js] is an SQL query builder.
* [http://knexjs.org/ Knex.js] is an SQL query builder.
* [https://github.com/Vincit/objection.js Objection.js] is another ORM built on Knex.js.
* [https://github.com/Vincit/objection.js Objection.js] is another ORM built on Knex.js.
==Proxies==
It is typically recommended to run express behind a proxy (e.g. Nginx) for production.
See [https://expressjs.com/en/guide/behind-proxies.html guide: behind-proxies] for how to configure this.
<syntaxhighlight lang="typescript">
app.set('trust proxy', 'loopback');
</syntaxhighlight>


==Libraries==
==Libraries==