Express Brute Mongo

MongoDB adapter for the express-brute middleware.
Alternatives To Express Brute Mongo
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Jugglingdb2,0174071134 years ago105March 06, 201979JavaScript
Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
Mongo Php Adapter4613091207 months ago30July 08, 2021mitPHP
:link: Adapter to provide ext-mongo interface on top of mongo-php-library
Sails Mongo4122,2371036 days ago55April 29, 202112JavaScript
MongoDB adapter for Sails.js / Waterline ORM.
Hexagonal Architecture Acerola326
5 years ago1apache-2.0C#
An Hexagonal Architecture service template with DDD, CQRS, TDD and SOLID using .NET Core 2.0. All small features are testable and could be mocked. Adapters could be mocked or exchanged.
Mongodb Adapter23156 months ago12September 16, 2022apache-2.0Go
MongoDB adapter for Casbin
Aspnetcore.identity.mongodbcore192647 months ago16October 13, 20216mitC#
A MongoDb UserStore and RoleStore adapter for Microsoft.AspNetCore.Identity 2.2. Allows you to use MongoDb instead of SQL server with Microsoft.AspNetCore.Identity 2.2. (not Identity 3.0)
Feathers Mongodb123116426 days ago55December 01, 2021mitJavaScript
A mongodb service for feathers
Tortoisedb11215 years ago9August 27, 20186mitJavaScript
Official tortoiseDB adapter for turtleDB
Node Simple Odata Server938672 months ago17September 10, 202118mitJavaScript
Simple OData server for node.js
East753792 months ago50November 20, 20213mitJavaScript
Node.js database migration tool
Alternatives To Express Brute Mongo
Select To Compare

Alternative Project Comparisons

MongoDB store adapter for the express-brute.


npm install express-brute-mongo


var ExpressBrute = require('express-brute'),
var MongoStore = require('express-brute-mongo');
var MongoClient = require('mongodb').MongoClient;

var store = new MongoStore(function (ready) {
  MongoClient.connect('mongodb://', function(err, db) {
    if (err) throw err;

var bruteforce = new ExpressBrute(store);'/auth',
  bruteforce.prevent, // error 403 if we hit this route too often
  function (req, res, next) {

Expire documents

Create an index with expireAfterSeconds: 0 in mongo as follows:

db.my_api_limits_coll.ensureIndex({expires: 1}, {expireAfterSeconds: 0});

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.




This project is licensed under the MIT license. See the LICENSE file for more info.

Popular Adapter Projects
Popular Mongodb Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.