Skip to content
Demonstration project for a realtime presentation slides application tutorial
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views
.eslintrc.json
.gitignore
LICENSE.txt
README.md
package-lock.json
package.json
server.js

README.md

Real-time Presentation Slides with Socket.io, Node.js and Javascript

Demo project for a blog post on building a real-time presentation slides app.

Installation

git clone https://github.com/nafeu/realtime-slides-tut.git [PROJECT_NAME]
cd [PROJECT_NAME]
npm install

Offline Usage

To start the application, run npm start inside the project directory.

Presentation View

Open localhost:8000 in your browser

Live Edit View

Open localhost:8000/edit in another window or [LOCAL_IP_ADDRESS]:8000/edit on any device (computer, tablet or phone) that is on the same LAN.

Online Usage

Deploy On Heroku

heroku create
heroku features:enable http-session-affinity
git push heroku master

Open the generated [APP_URL] and try it out, connect to the /edit page on a separate device and enjoy your new realtime presentation slides solution.

Delete Heroku App

Make sure you are in the correct project directory.

heroku apps:destroy

Follow the rest of the CLI prompt.

Credits

Nafeu Nasir

License

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.