Skip to content

Latest commit

 

History

History
77 lines (64 loc) · 3.28 KB

README.md

File metadata and controls

77 lines (64 loc) · 3.28 KB

logo

Content

1. Description

OnlineCinemaAJK is a web based application that have a purpose to connect every people in the world through a film that played in an online web that acts as a cinema, so the people can watch a movie together, have chat with their peers, and have fun. OnlineCinemaAJK was build with Node.JS and Socket.IO technology so the apps can run real-time.

2. Installation

Requirements:

  • Operating System (Linux, Windows, macOS)
  • Npm
  • MySQL
  • NodeJS (ver 10.x.x)

How to Install

  1. git clone https://github.com/kuuhaku86/OnlineCinemaAJK.git
  2. Get in to folder OnlineCinemaAJK
  3. Run in terminal npm install --save
  4. Turn on the MySQL server
  5. Import onlinecinemaajk.sql
  6. Change in /core/user.js and db.js the setting according to your database setting

3. How to Use

Features

  1. Login Page and Register Page
  2. Multiroom (One server can consist many rooms).
  3. Real-time chat
  4. Master room selection
  5. Change film

Step to Use

  1. Turn on the node.js server in terminal with node app.js command
  2. The computer that acts as the server can open the web with localhost:8600 address in the browser
  3. The computer that acts as common user can open the web with IPServer:8600 , you must change the IPServer with the server IP address
  4. Login if you have an account in that web and register if you don't have one
  5. The user that wants to acts as a room master can click the make a room button to make a new room
  6. Other user that wants to join the room that had been created by the master room can fill the text field input below the make a room button and the click join room button
  7. All the user can chatting with the user that join the same room in the chat field
  8. The master room can change the film that played in the room by clicking dropdown button below the film
  9. The master room can give his/her position as a master room to the other user in the room

4. Conclusion

We can use socket programming's technique to create fascinating app's like this one. It's run perfectly although use big bandwith to use. For further development, there are some advices that can be used like just send the movie's time and not the entire image, deprecate the login features, and make the user can upload the image.

5. Used Tools and Reference

Tools

Reference