Menu

Close
  • Home
Subscribe
mrvautin Menu

expressjs

A 3-post collection

Page 1 of 1

Nodejs - Re-use MongoDB database connection in routes

Quite often when you are writing an application you will need access to one or more database connections. Maybe MongoDB for data storage and Redis for cache. You will need to re-use that database connection throughout your application. I'm going

Read more »

Mark Moffat Mark Moffat on nodejs, javascript, expressjs, mongodb 12 April 2018

Ensure Express App has started before running Mocha/Supertest tests

Seems simple enough but when running tests, I ran into a problem where Mocha/Supertest was not waiting for my Express App to fully start running tests.

The relatively easy way to overcome this is to use an event emitter

Read more »

Mark Moffat Mark Moffat on nodejs, expressjs, javascript, mocha, supertest, test 19 June 2016

openKB - Open Source Nodejs Markdown based knowledge base (FAQ) app

openKB is an open source Markdown based Knowledge base application (FAQ) built with Nodejs and ExpressJS. The application uses an embedded database (nedb) for easy installation without a full Database server.
The application is designed to be easy to use

Read more »

Mark Moffat Mark Moffat on nodejs, openkb, faq, knowledgebase, expressjs, markdown, open source 02 August 2015
Page 1 of 1
mrvautin © 2019
Proudly published with Ghost