Skip to content

chanakaDe/MintRestSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple micro-service using node.js and mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published