Hello people, I am using passport-local and what I want to do is show the user when he / she does the login
My code is this
var passport = require('passport');
var localStrategy = require('passport-local').Strategy;
var User=require...
I'm trying to create an api where I receive 2 parameters, the id of the session and the seat that needs to be reserved
[
{
"id":1,
"tanda" : "7:30am"
, "asientos" : [
0 ,
0, 0, 0, 0 ,
0, 0, 0, 0 ,
0, 0, 0, 0 ,
0,...
The problem I think occurs when you try to do db = mongo.bd.openweathermap, what appears to me by console
No handlers could be found for logger "apscheduler.executors.default"
from flask import Flask, render_template, request, jsonify, redi...
I have a structural dilemma for my application.
Currently I have an application consuming an API Rest made with Node and MongoDB. And I want to add the chat functionality. I was reading and I think the best option is to use the XMPP protocol for...
Good evening,
I have been assigned a project and I do not really know where to start. By curl I receive a json, the client wants to save every second the received data.
Right now they have a cron task that calls a php file that performs an...
I'm trying to install the Doctrine ODM for MongoDB through Composer and I get the very famous error that I'm missing the mongo extension for php
Problem 1
- Installation request for doctrine / mongodb 1.4.0 - > satisfiable by d...
I have a question, suppose you have a domain
www.example.com
and 2 subdomains
www.sub1.example.com
www.sub2.example.com
I clarify that the 3 pages use mongo express and the whole node stack.
If you would like to communicate and shar...
Dear, the following code does not work for me, I do not know what is the part I am doing wrong, this is the code:
I wanted to see a line chart of the api highcharts
<?php
$dbname = 'db';
$m = new MongoClient();
$db = $m->$dbname;
$c...
I'm trying to insert a GeoJSON object into a mongo database
{
name: "cancha de san lorenzo",
date: new Date(1489203188492),
loc: {
type: "Point",
coordinates: [ 19.3096246, -99.6301335 ]
}
}
through the following i...