Socket.io+angular.js+express.js do a chat application (i)

Source: Internet
Author: User

Node,express development environment, such as installation if it has been done.


[Email protected]:~/projects/nodejs$ express-e chattingnode   create:chattingnode   create:chattingnode/ Package.json   create:chattingnode/app.js   create:chattingnode/public   create:chattingnode/public/ JavaScripts   create:chattingnode/public/images   create:chattingnode/public/stylesheets   Create: Chattingnode/public/stylesheets/style.css   create:chattingnode/routes   create:chattingnode/routes/ Index.js   create:chattingnode/routes/users.js   create:chattingnode/views   create:chattingnode/ Views/index.ejs   create:chattingnode/views/error.ejs   create:chattingnode/bin   Create:chattingnode /bin/www   Install dependencies:     $ cd chattingnode && NPM install   run the app:     $ debug= My-application./bin/www


Then

<pre name= "code" class= "java" >[email protected]:~/projects/nodejs/chattingnode$ cd Chattingnode && NPM Install

[email protected] node_modules/debug[email protected] node_modules/static-favicon[email protected ] node_modules/ejs[email protected] node_modules/morgan└──[email protected][email protected] Node_ Modules/cookie-parser├──[email protected]└──[email protected][email protected] Node_modules/ Body-parser├──[email protected]├──[email protected] ([email protected]) └──[email protected] ([email protected]) [Email protected] node_modules/express├──[email protected]├──[email protected]├──[email  Protected]├──[email protected]├──[email protected]├──[email protected]├──[email protected] ├──[email protected]├──[email protected]├──[email protected]├──[email protected]├──[email  protected]├──[email protected] ([email protected]) ├──[email protected] ([email  Protected]) ├──[email protected] ([email protected], [email proteCTED]) └──[email protected] ([email protected]) 


[Email protected]:~/projects/nodejs/chattingnode$ lsapp.js  bin  node_modules  package.json  Public  Routes  views

[Email protected]:~/projects/nodejs/chattingnode$ node/bin/wwwget/200 10ms-207bget/stylesheets/style.css 6ms- 110b



watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzwrhz2fybgk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

Project source code address: Https://github.com/edagarli/chattingnode


can be followed. will be updated continuously after that.


Socket.io+angular.js+express.js do a chat application (i)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.