• MONDAY:

  • TUESDAY: LEARN EXPRESS

Index.js will require all necessary middlewares

Router.js includes all http request routers. In simple examples, all routers can be included in one file, however, for production and larger apps, there will be several router files.

Multer

  • Web frameworks benchmark: techempower.com,
  • PM2 : a production process manager -> manages all processes of Nodejs. It can create multiple clusters of Nodejs app -> increase power to manage requests
  • Apache JMeter testing tool
  • Ngnix is very good at serving static files

  • Postgresql

Mockaroo: generate fake data

CREATE INDEX -> optimise query time -> create index for fields that are frequently used for searches but not often changed

  • Cookies: generated by websites and stored in browsers -> used to track users information. It can have time frame or can be stored in the browser until the website resets or the user deletes cookies
  • Sessions: stored in server -> server generates session to store information, for example, in shopping websites, anonymous customers shopping carts will be stored as each session. When an anonymous user connects to a web, the server generates a special cookies for the user and assign a session to this cookie. Sessions can be stored in database instead of in memory since RAM is limited and it avoids problems of losing all data during high season where crashes might happen.

results matching ""

    No results matching ""