Skip to content

ps0305/MySQL_CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rxjmfpcxcfoe0q4bxmuy

MySQL_CRUD

This is an example of RESTful CRUD in NodeJS with MySQL database

Installation

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

cd MySQL_CRUD

then

npm install

Configuration (database)

server.js

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

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

Test with POSTMAN app,by sending POST request

https://www.getpostman.com/

About

RESTFul CRUD Example with NodeJS and MySQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published