项目作者: deval93

项目描述 :
NodeJS Server with express and MongoDB
高级语言: JavaScript
项目地址: git://github.com/deval93/NodeJS-RESTful-APIs.git
创建时间: 2018-06-07T12:03:29Z
项目社区:https://github.com/deval93/NodeJS-RESTful-APIs

开源协议:

下载


Node.js + Express + MongoDB

NodeJS Server with express and MongoDB

Steps to setup :

After cloning repo :

  1. $ cd /<cloned-directory>
  2. $ npm install

Connect mongoDB:

  1. $ sudo mongod --dbpath <dp_path>

Start server:

  1. $ node server.js

File upload Example

From browser go to:

  1. http://localhost:3030/upload/files

Send emails in NodeJS

Sending emails using ‘nodemailer’ example here.