In this case using NodeJS and ReactJS at the same project. The React has server example for NodeJS, Ruby, Python, PHP. We can clone de repository and after install all dependencies. For that first : git clone https://github.com/reactjs/react–tutorial.git comments npm install Run the App : npm start The file server.js is used express module in order to… Seguir leyendo ReactJS & NodeJS Comments App.
Categoría: NodeJS
Working with Ember Data, Node, Express and MongoDB
This article was written in April 2015. This would have been Ember Data v1. If you are using Ember Data v2 some of the API might have changed, this article does not reflect those changes! I have really been enjoying working with EmberJS lately, once you get over the learning curve and understand how things… Seguir leyendo Working with Ember Data, Node, Express and MongoDB
How To Setup Your Ember Project With Node or io.js And Express
Using a great front-end framework like Ember is fun to use. Unfortunately most applications we write are going to need some sort of back-end. Most people would argue that Rails is the way to go and they aren’t wrong. If you’re looking to learn more about that check out Rails to Ember. It’s a great… Seguir leyendo How To Setup Your Ember Project With Node or io.js And Express
NodeJs – MongoDB – Insert Records
var express = require(‘express’); //almaceno funcionalidad del framework express // genero objeto mongo apuntando a mongodb // genero instancia de servidor // genero objeto DB // inicializo DB, server y db asignandole el nombre de la base de datos. // con el db.open abro la base de datos usando db.collection y genero una collection llamada… Seguir leyendo NodeJs – MongoDB – Insert Records
Node – Express – Jade – MongoDB
INTRODUCTION There are approximately one hundred million tutorials on the web for getting a “Hello, World!” app running with Node.js. This is great! It’s especially great if your goal is to greet the world and then give up on your web career and go spend the rest of your life as, like, a jockey or… Seguir leyendo Node – Express – Jade – MongoDB