mirror of
https://github.com/sstent/node.git
synced 2026-01-26 15:12:37 +00:00
first post
This commit is contained in:
26
Nodejs-Socketio-Mysql-Demo/Readme.md
Normal file
26
Nodejs-Socketio-Mysql-Demo/Readme.md
Normal file
@@ -0,0 +1,26 @@
|
||||
### Author: Alexander Luksidadi
|
||||
### Tutorial URL: http://blog.luksidadi.com/mysql-nodejs-socketio-tutorial/
|
||||
|
||||
Description:
|
||||
How to call mysql query from Nodejs / SocketIO
|
||||
|
||||
Tags: nodejs, socketio, mysql
|
||||
|
||||
### installation:
|
||||
- install nodejs (nodejs.org)
|
||||
- install npm (npmjs.org)
|
||||
- install socketio (socket.io)
|
||||
- install node-mysql (https://github.com/felixge/node-mysql)
|
||||
|
||||
### run this command in your terminal:
|
||||
```
|
||||
$node app.js &
|
||||
```
|
||||
|
||||
### open in your browser:
|
||||
```
|
||||
http://localhost:3000/
|
||||
```
|
||||
|
||||
visit my blog:
|
||||
http://blog.luksidadi.com
|
||||
Reference in New Issue
Block a user