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.
- Operating System (Linux, Windows, macOS)
- Npm
- MySQL
- NodeJS (ver 10.x.x)
- git clone https://github.com/kuuhaku86/OnlineCinemaAJK.git
- Get in to folder OnlineCinemaAJK
- Run in terminal npm install --save
- Turn on the MySQL server
- Import onlinecinemaajk.sql
- Change in /core/user.js and db.js the setting according to your database setting
- Login Page and Register Page
- Multiroom (One server can consist many rooms).
- Real-time chat
- Master room selection
- Change film
- Turn on the node.js server in terminal with node app.js command
- The computer that acts as the server can open the web with localhost:8600 address in the browser
- The computer that acts as common user can open the web with IPServer:8600 , you must change the IPServer with the server IP address
- Login if you have an account in that web and register if you don't have one
- The user that wants to acts as a room master can click the make a room button to make a new room
- 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
- All the user can chatting with the user that join the same room in the chat field
- The master room can change the film that played in the room by clicking dropdown button below the film
- The master room can give his/her position as a master room to the other user in the room
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.