Skip to content

nikhilbhalwankar/nodejs-restapi-using-express-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs Rest API Example Using ExpressJS and Mysql

I have created simple example to create RESTFul api for crud operation using mysql database.I have added following features into this source code,
  • Add Record using rest call into mysql database
  • Edit Record using rest call into mysql database
  • Delete Record using rest call into mysql database
  • Featch records using rest call into mysql database

how to create table in db

You need to craete 'test' database into mysql and import customer.sql table into your mysql database.

How to run nodejs application

copy index.js and package.json file into your nodejs project folder,

Open command line and cd to your above nodejs project folder

run 'npm install'

run 'node index.js'

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%