LookAtMe is my first attempt at making a Socket.IO web application. It has given me a lot of new ways to think about how to make a code scalable. The real-time feature of LookAtMe will also build upon my future projects such as real-time messaging applications and so.
Just follow the steps below and you should be good to go.
-
Clone the repository:
git clone https://github.com/nheek/lookatme.git your-project
-
Change into the project directory:
cd your-project
Run the development server using nodemon:
npm run dev
Click the button and see the total clicked count update in almost real-time. It also logs the amount of people currently watching the page and the overall views. A simple yet intuitive way to learn about Socket.IO.
Deploy using your preferred deployment method.
- SQL file in source code
- Make it really real-time, right now there's a one second delay to prevent database overloading
- Statistics page where users can see historical data like daily clicks/views
If you'd like to contribute, please fork the repository and create a pull request. Issues and feature requests are welcome!
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Special thanks to everyone who had indirect contributions to this project through the inclusion of their works which are specially mentioned in the source code.