Skip to content

teknosains/rest-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example of RESTful CRUD in Node.js n mySQL.

Installation, and tutorial here : http://teknosains.com/i/restful-crud-example-with-nodejs-and-mysql

Live DEMO: http://teknosains.com/i/simple-crud-nodejs-mysql

Installation

*for newbies : Clone or download zip to your machine then hit this :

cd rest-crud

then

npm install

Configuration (database)

server.js

    host: 'localhost',
    user: 'root',
    password : 'root',
    port : 3306, //port mysql
    database:'test'	

You're gonna need to create a DB named 'test' or whatever you name it, import t_user.sql

Open your Browser

And type: localhost:3000/api/user

About

RESTFul CRUD Example with Node.js and Mysql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published