Home About My Portfolio Privacy Policy Terms
Showing posts with label Development. Show all posts
Showing posts with label Development. Show all posts

Saturday, 3 December 2022

liveType

 liveType


What is liveType?

liveType is a web application used for real-time typing competition between two players. Users can join room from any corner of the globe and compete as well as chat in real-time.

Why liveType?

Many people use to test their typing speed on various wonderful platforms like monkeytype.com, typerush.com etc. But what they miss is real-time rivalry between their friends. Many studies have already proven that motivation to do a task comes when there is a win-reward system, so is the case with liveType, you feel overwhelmed beating your friend in a close compitition.

Project Inception

The idea to build the project came to my mind when I was quite bored with binged typing on monkeytype.com. The first commit was made on 27 th of November 2022 and it took three days to build the first substantial model.

Vulnerabilities to be probed

Although socket.io uses long polling for maintaining constant communication between server and the client, it has been observed that connection may broke on delayed inactivity from client's end. Thus it is advised to refresh the window when this happens.




Friday, 18 November 2022

beSocial : my own social media!

beSocial




I am extremely happy to share with you that I have made my own social media called "beSocial". It is a full stack project which is completely built with Nodejs, Expressjs, Mongodb and some node libraries. It took me almost four days to complete it. Since Heroku has already withdraw its free tier services, I have moved to Render.

 
I have tried to make development environment as comprehensive as possible. The file structure looks like this:



Nodejs libraries that has been incorporated to build this app
  • Expressjs - for creating various GET and POST APIs. 
  • EJS - for injecting dynamic content inside HTML.
  • JWT - for user authentication and setting up cookies.
  • Mongoose - for handling mongodb database.
  • Multer - for handling image uploads.
  • Sharp - for resizing images.
  • cookie-parser - for parsing cookies
  • nodemon - for auto-refreshing web page while development.
  • moment - for handling time related stuffs.
My profile (srudra754) on beSocial:



homepage:



Createpost page:



Hope you enjoyed this post, and I wish you to follow me on beSocial! 
My username is "srudra754".