Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build a ChatApp with: (Nodejs,Socketio, Expressjs ,MongoDB)
Rating: 4.1 out of 5(130 ratings)
23,885 students
Last updated 3/2026
English

What you'll learn

  • Setup a nodejs development environment
  • Setup mongodb environment via mlab
  • Create packagejson file
  • Setup socketio
  • Setup a model for mongodb
  • Use mongoose to connect to mongodb
  • Test http get and post request using postman
  • Create functions
  • Create callbacks
  • Create get messages service
  • Emit messages to clients
  • Save data to mongodb
  • Initialise git repository
  • Create an heroku app
  • Deploy app to heroku for hosting
  • Check application logs on heroku

Course content

4 sections46 lectures4h 12m total length
  • Introduction1:40
  • What we will create0:51
  • Installing Nodejs3:22
  • Updating npm4:34
  • Installing visual studio code4:54
  • Installing Postman5:09
  • Creating your own module7:34
  • Global Objects2:43
  • RDBMS VS NOSQL3:11
  • Basic npm commands3:24

Requirements

  • You should be able to use a PC at beginner level
  • Basic HTML knowledge
  • Basic CSS knowledge
  • Basic JavaScript knowledge

Description

Welcome to this course where will be building a real-time chat application that you can use to communicate with your friends and family using node ,express ,socketio and mongodb

Nodes is a platform built on the Chrome JavaScript  run time that can help you build fast, Scalable network applications. Nodes uses an event-driven, non-blocking I/O model that makes it lightweight and efficient—perfect for data-intensive real-time applications that run across distributed devices.

Socket.IO is a web library that enables real-time bidirectional event-based communication.

Express.js is a Node.js framework used in building nodejs applications

MongoDB—an open-source, document database—makes it easy to bring up an application stack and start coding.

Topics include:

  • Installing Nodejs
  • Installing Express
  • Installing Mongoose
  • Installing socketio
  • Setting up socketio
  • Serving static content with Express
  • Adding bootstrap and jQuery
  • Creating a get messages service
  • Creating a post services message
  • Emitting messages to clients
  • Setting up MongoDB using mLab
  • Connecting your app to mLab
  • Saving data to mongoDB
  • Initialising a git repository
  • Creating a hosting app on heroku
  • Tracking your app with git
  • Creating a model for mongoDB
  • Connecting with mongoose
  • Deploying application into Heroku cloud platform
  • Checking the logs for your app on Heroku platform


Who this course is for:

  • Beginners to Nodejs
  • Beginners to socketio
  • Beginners to mongoDB
  • Anyone who wants to learn how to build a chatapp