Express.js: Difference between revisions

Created page with "Express.js, also known as Express, is a Node.js web-framework. ==Getting Started=="
 
No edit summary
Line 2: Line 2:


==Getting Started==
==Getting Started==
To create a project, do
<pre>
npx express-generator
</pre>
or
<pre>
npm i -g express-generator
express [dir]
</pre>
See [https://expressjs.com/en/starter/generator.html express starter generator] for more details.
==Usage==
===Routing===
See [https://expressjs.com/en/guide/routing.html Guide: Routing]
==Libraries==
* [https://www.npmjs.com/package/express-ws express-ws] adds websocket endpoints for express.
==Resources==