mrvautin

Tag: javascript

adminMongo

adminMongo is a Web based user interface (GUI) to handle all your MongoDB connections/databases needs. adminMongo is fully responsive and should work on a range of devices.adminMongo connection information (including username/password) is stored

metaget - Nodejs module to fetch remote Meta Tags (including Open Graph) from URL

A Node.js module to fetch HTML meta tags (including Open Graph) from a remote URLInstallationnpm install metaget --saveUsagevar metaget = require("metaget");metaget.fetch('https://wordpress.com', function (err, meta_response)

How to add search functionality to your Ghost blog

Adding search to your Ghost blog is relatively simple but requires a small amount of skill to edit your theme files. You can see how search works on the homepage of this blog.First of all, you need to turn on the Ghost Public API (which by default is

expressCart - A Nodejs Shopping Cart application

expressCart is a Shopping Cart built with Nodejs and ExpressJS. The application has PayPal Express Checkout, Stripe checkout and Authorize.Net built-in. expressCart uses MongoDB database backend.The application is designed to be easy to use and

authorStats - Get your NPM package download statistics in an easy to read command line table

authorStats fetches your daily/weekly/monthly download stats for all your authored NPM packages and outputs a nice table right in your command line.InstallationIt's best to install the package globally:npm install author-stats -gUsageauthorStatsWhere

markdownTables - Convert your HTML tables into Markdown syntax online

markdownTables is an online tool which enables you to paste in your HTML table code and convert it to Markdown table syntax.markdownTables

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 in your Express app and wait

Writing your first Node.js module

This isn't meant to be an exhaustive guide on how to write an NPM module. This guide is meant to be a simple working example where you can see a basic working module and easily adapt this to create your own module.You can see the basic structure is

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 to