rbhirve / Node.js-REST-API-with-MySql

Node.js API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • [Node.js] - Evented I/O for the backend
  • [Restify] - As backbone for the Web API
  • [Sequelize] - For ORM database interaction
  • [Node-uuid] - For UUID generation
  • [Random-js] - For verification code generation
  • [Request-promise] - For Social Network verification
  • [Sendmail] - SMTP-less email sending

Installation

The Web API requires [Node.js] v7.x+ to run.

Clone this repository, set up the database and then install the dependencies and devDependencies and start the server.

$ cd folder
$ npm install -d
$ sequelize db:migrate
$ npm start

Please note that in production mode the Web Api will reject any non secure connection, so always use HTTPS.

For dev environments...

$ cd 
$ npm install
$ sequelize db:migrate
$ sequelize db:seed:all
$ npm run-script development

About

Node.js API


Languages

Language:JavaScript 100.0%