Skip to content

Simple chat room server using NodeJS, express and Socket.IO.

Notifications You must be signed in to change notification settings

wnleao/chat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick heroku setup

After cloning the project and installing heroku cli.

If you already have a heroku project:

git remote add heroku <heroku_project_git_address>

If you don't have one:

heroku create

Then,

git push heroku master

References

https://devcenter.heroku.com/articles/deploying-nodejs

https://devcenter.heroku.com/articles/node-websockets#option-2-socket-io

Important heroku commands

Running it locally

heroku local web

How to access heroku logs?

heroku logs --tail

Scaling the app

Shutting it down

heroku ps:scale web=0

Getting it up again

heroku ps:scale web=1

References

https://devcenter.heroku.com/articles/getting-started-with-nodejs?singlepage=true

About

Simple chat room server using NodeJS, express and Socket.IO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published