Skip to content

michsu0927/node-mysql-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mysql-demo

This is the demo of node js with express framework and mysql.

  1. You shoud install node , then npm install express.

  2. Copy all file to web folder.

  3. then npm install . will download then dependecy package in package.json.

  4. How to install node git clone git://github.com/creationix/nvm.git ~/nvm echo "source ~/nvm/nvm.sh" >> ~/.bashrc then relogin

  5. How to install express mkdir ~/web , cd ~/web , npm install express ./node_modules/express/bin/express .

  6. Copy all file in ~/web

  7. npm install .

  8. mysql -u user -p db < db.sql

  9. Setting your mysql db user password in model/config.js

  10. All done just node app.js

About

node js with express framework and mysql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published