Skip to content

Instantly share code, notes, and snippets.

Here are some products that you can use to build your fintech app
## SMS
Termii
Twilio
Interswitch Digital (Vanso)
## Card and account charge
@nnguyen150468
nnguyen150468 / nguyen-mongodb-query-exercise.md
Last active January 21, 2025 06:54
MongoDB Query Exercise

MongoDB query exercise

working with Chinh Le @ https://github.com/ldchinhcr

  1. display all the documents in the collection restaurants.

db.rest.find()

  1. display the fields restaurant_id, name, borough and cuisine for all the documents in the collection restaurant.
@bradtraversy
bradtraversy / docker-help.md
Last active July 28, 2025 15:14
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

using System;
using System.Net.Mail;
using System.Threading.Tasks;
namespace AcePickup.Helpers
{
public interface IMailApp:IDisposable
{
/// <summary>
/// This service allows users to send emails with complete control over the content of the email.
@stongo
stongo / app.js
Last active September 7, 2024 14:28
Joi validation in a Mongoose model
var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/test');
var db = mongoose.connection;
db.on('error', function() {
return console.error.bind(console, 'connection error: ');
});
@bclinkinbeard
bclinkinbeard / referenced_mongo_json.md
Created March 15, 2013 16:56
Populating referenced collections in MongoDB from JSON files using Node.js and Mongoose

Populating referenced collections in MongoDB from JSON files using Node.js and Mongoose

I recently began working with Node and MongoDB for a small personal project, largely just to learn the technologies. One thing that is fairly simple but that I found far from obvious and lacking in concrete examples was how to populate the part of my database that used referenced collections from the sample JSON data I was starting with. This post attempts to fill that gap using the following code snippets, which are heavily commented inline. You will notice I am using the awesome Mongoose library which makes working with MongoDB very easy.

http.createServer( app ).listen( app.get( 'port' ), function() {

    mongoose.connect( 'mongodb://localhost/{YOUR_DB_NAME}' );

	var db = mongoose.connection;