Skip to content

Latest commit

 

History

History
executable file
·
32 lines (21 loc) · 945 Bytes

README.md

File metadata and controls

executable file
·
32 lines (21 loc) · 945 Bytes

Mint-REST

A simple rest api using Node.js , MySQL , Express and node-mysql as the ORM.

Overview

This rest api created for a simple blogging platform with all the rest api standards. And also used MySQL and the database and node-mysql as the ORM. Because Mongoose has a very good support at MySQL. And also we have used following npm packages to create this rest api in a useful and structural way.

  • "bcrypt-nodejs": "0.0.3"
  • "body-parser": "^1.14.0"
  • "cors": "^2.7.1"
  • "express": "^4.13.3"
  • "jsonwebtoken": "^5.0.5"
  • "node-mysql": "^4.1.8"
  • "morgan": "^1.6.1"

Prerequisites

  • NodeJS
  • MySQL server
  • SQL query browser for speed developing.

Setting up the app

Run npm install at the root folder to download dependencies. Then run "node server.js" to run the application. And make sure your MySQL server is running.

Configuration

See the config.js file for more configuration options.