<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anuja Kokitkar</title>
    <description>The latest articles on DEV Community by Anuja Kokitkar (@anuja_kokitkar_ec8284d027).</description>
    <link>https://dev.to/anuja_kokitkar_ec8284d027</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4143011%2F7a5597ca-4e36-4225-b5e6-e28a48b4b6cb.jpg</url>
      <title>DEV Community: Anuja Kokitkar</title>
      <link>https://dev.to/anuja_kokitkar_ec8284d027</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anuja_kokitkar_ec8284d027"/>
    <language>en</language>
    <item>
      <title>Understanding Real-Time Web Applications Through a Socket.IO Chat Project</title>
      <dc:creator>Anuja Kokitkar</dc:creator>
      <pubDate>Tue, 24 Nov 2026 12:34:14 +0000</pubDate>
      <link>https://dev.to/anuja_kokitkar_ec8284d027/understanding-real-time-web-applications-through-a-socketio-chat-project-1dhc</link>
      <guid>https://dev.to/anuja_kokitkar_ec8284d027/understanding-real-time-web-applications-through-a-socketio-chat-project-1dhc</guid>
      <description>&lt;p&gt;Introduction&lt;/p&gt;

&lt;p&gt;Modern web applications are expected to provide quick responses and instant updates. Whether it is a messaging platform, live notification system, or online collaboration tool, users expect information to appear without refreshing the page. Real-time communication makes this possible.&lt;/p&gt;

&lt;p&gt;During my internship at Valentius Kryptix, I explored WebSockets and real-time communication by developing a Real-Time Chat Application using React.js, Node.js, Express.js, and Socket.IO.&lt;/p&gt;

&lt;p&gt;Understanding Real-Time Communication&lt;/p&gt;

&lt;p&gt;Traditional HTTP communication follows a request-response model. The client sends a request to the server, and the server returns a response. When continuous updates are required, the client may need to send repeated requests.&lt;/p&gt;

&lt;p&gt;WebSockets provide a different approach. They establish a persistent connection between the client and server, allowing both sides to exchange information independently. This two-way communication makes WebSockets useful for applications that require frequent updates.&lt;/p&gt;

&lt;p&gt;Socket.IO is a JavaScript library that simplifies real-time, event-based communication. It provides features for managing connections, exchanging events, and handling disconnections.&lt;/p&gt;

&lt;p&gt;Building a Real-Time Chat Application&lt;/p&gt;

&lt;p&gt;The main objective of my project was to understand how multiple users can communicate through a web application.&lt;/p&gt;

&lt;p&gt;I developed the frontend using React.js and implemented the backend using Node.js and Express.js. Socket.IO was used to connect the frontend and backend.&lt;/p&gt;

&lt;p&gt;The application includes several features:&lt;/p&gt;

&lt;p&gt;Instant Messaging: Users can send messages that are broadcast to other connected users.&lt;/p&gt;

&lt;p&gt;Online User Tracking: The application maintains a list and count of currently connected users.&lt;/p&gt;

&lt;p&gt;Join and Leave Notifications: Users receive notifications when someone joins or leaves the chat.&lt;/p&gt;

&lt;p&gt;Connection Management: The backend handles connection and disconnection events to maintain the online user list.&lt;/p&gt;

&lt;p&gt;I used event-based communication, including events such as join_chat, send_message, receive_message, and disconnect.&lt;/p&gt;

&lt;p&gt;Important Technical Learnings&lt;/p&gt;

&lt;p&gt;This project helped me understand several practical concepts.&lt;/p&gt;

&lt;p&gt;First, I learned how a persistent WebSocket connection is established between a browser and a server.&lt;/p&gt;

&lt;p&gt;Second, I gained experience with Socket.IO events to send, receive, and broadcast information between multiple clients.&lt;/p&gt;

&lt;p&gt;Third, I learned how to manage connected users and handle disconnections using server-side logic.&lt;/p&gt;

&lt;p&gt;I also verified the WebSocket connection through browser Developer Tools. In the Network tab, I selected the WS filter and checked the connection request. The status code 101 Switching Protocols confirmed that the HTTP connection had successfully upgraded to WebSocket communication.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;Building this project gave me practical exposure to real-time application development and strengthened my understanding of full-stack technologies.&lt;/p&gt;

&lt;p&gt;It also helped me understand that real-time communication is not just about sending messages instantly; it involves connection management, event handling, and keeping multiple clients synchronized.&lt;/p&gt;

&lt;p&gt;I am thankful to Valentius Kryptix for providing this learning opportunity during my internship. I look forward to exploring more advanced real-time applications.&lt;/p&gt;

&lt;p&gt;Read the Full Article&lt;/p&gt;

&lt;p&gt;For a detailed explanation of the project, implementation, and technologies used, read my complete blog post:&lt;/p&gt;

&lt;p&gt;How to Build a Real-Time Chat Application Using Socket.IO&lt;/p&gt;

&lt;p&gt;Technologies: React.js | Node.js | Express.js | Socket.IO | WebSockets | JavaScript&lt;/p&gt;

</description>
      <category>websockets</category>
      <category>javascript</category>
      <category>react</category>
      <category>node</category>
    </item>
    <item>
      <title>Building Secure Authentication APIs with Django REST Framework and JWT</title>
      <dc:creator>Anuja Kokitkar</dc:creator>
      <pubDate>Thu, 29 Oct 2026 07:58:21 +0000</pubDate>
      <link>https://dev.to/anuja_kokitkar_ec8284d027/building-secure-authentication-apis-with-django-rest-framework-and-jwt-1lie</link>
      <guid>https://dev.to/anuja_kokitkar_ec8284d027/building-secure-authentication-apis-with-django-rest-framework-and-jwt-1lie</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Security is an essential part of every modern web application. Whether users are accessing an online shopping platform, a banking application, or a personal dashboard, they expect their accounts and information to remain protected. A well-designed authentication system helps applications verify user identities and control access to protected resources.&lt;/p&gt;

&lt;p&gt;Python and Django REST Framework (DRF) provide useful tools for developing authentication APIs. By integrating JSON Web Tokens (JWT), developers can implement token-based authentication for applications that communicate through REST APIs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding the Authentication Workflow
&lt;/h2&gt;

&lt;p&gt;An authentication system involves more than checking a username and password. It includes several connected processes that help protect user accounts throughout their lifecycle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User registration and password security:&lt;/strong&gt; During registration, users provide details such as a username, email address, and password. Passwords should never be stored as plain text. Django provides built-in password-hashing functionality that helps protect credentials stored in the database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Email verification:&lt;/strong&gt; Email verification helps confirm that users can access the email addresses they provide. An application can keep newly registered accounts inactive until verification is completed using a valid verification token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JWT-based login:&lt;/strong&gt; After successful authentication, the server can issue an access token and a refresh token. The access token is used to authorize requests to protected endpoints, while the refresh token can help obtain new access tokens according to the application's token policy. Configuring token expiration is important because it limits how long an access token remains valid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Protected API endpoints:&lt;/strong&gt; Authentication mechanisms allow developers to restrict sensitive endpoints. When a request arrives, the application validates the provided credentials and determines whether access should be granted. Requests without valid authentication credentials should be rejected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Password recovery:&lt;/strong&gt; Users sometimes forget their passwords. A password-reset workflow allows them to request a recovery link and establish a new password after the reset token has been validated. Reset tokens should be time-limited, and the new password should be validated before it is saved securely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Implementation and Testing
&lt;/h2&gt;

&lt;p&gt;While developing an Authentication System using Python, Django REST Framework, and Simple JWT, I gained practical experience with registration, email verification, token generation, protected APIs, and password recovery.&lt;/p&gt;

&lt;p&gt;Postman was useful for testing API requests and checking responses under different conditions. Testing successful login, incorrect credentials, missing tokens, and password-reset requests helped me understand how APIs behave in both successful and unsuccessful scenarios.&lt;/p&gt;

&lt;p&gt;For production applications, additional considerations include HTTPS, secure email delivery, appropriate token lifetimes, rate limiting, and safe management of secrets.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Developing an authentication API is a valuable way to understand backend development and application security. Combining Django REST Framework with JWT provides a practical foundation for building authenticated REST APIs, while email verification and password recovery improve the overall account-management experience.&lt;/p&gt;

&lt;p&gt;This project strengthened my understanding of secure password handling, authentication workflows, API testing, and backend development.&lt;/p&gt;

&lt;h3&gt;
  
  
  Read the Full Article
&lt;/h3&gt;

&lt;p&gt;Explore the detailed discussion of authentication system features on the Valentius Kryptix blog:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://valentiuskryptix.com/5-must-have-features-in-authentication-system-using-drf-and-jwt/" rel="noopener noreferrer"&gt;https://valentiuskryptix.com/5-must-have-features-in-authentication-system-using-drf-and-jwt/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>django</category>
      <category>jwt</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building CRUD REST APIs with Django REST Framework</title>
      <dc:creator>Anuja Kokitkar</dc:creator>
      <pubDate>Fri, 25 Sep 2026 13:40:46 +0000</pubDate>
      <link>https://dev.to/anuja_kokitkar_ec8284d027/building-crud-rest-apis-with-django-rest-framework-533i</link>
      <guid>https://dev.to/anuja_kokitkar_ec8284d027/building-crud-rest-apis-with-django-rest-framework-533i</guid>
      <description>&lt;p&gt;REST APIs are an important part of modern web development because they allow different applications and services to communicate with each other. During my internship work, I explored how to build a REST API using Django REST Framework (DRF) and implemented CRUD operations for managing tasks.&lt;/p&gt;

&lt;p&gt;CRUD stands for Create, Read, Update, and Delete. These four operations form the foundation of many applications that store and manage data. In a task management API, for example, users can create a new task, view existing tasks, update task details, and delete tasks when they are no longer required.&lt;/p&gt;

&lt;p&gt;Django REST Framework makes API development easier by providing serializers, views, authentication, permissions, and other useful features. I used Django models to define the structure of task data and serializers to convert model instances into JSON data that can be easily understood by frontend applications and other clients.&lt;/p&gt;

&lt;p&gt;The API provides different HTTP methods for performing operations. A POST request can be used to create a task, GET can retrieve tasks, PUT or PATCH can update an existing task, and DELETE can remove a task. Proper HTTP status codes such as 200, 201, 400, 401, and 404 help clients understand whether a request was successful or encountered an error.&lt;/p&gt;

&lt;p&gt;Authentication is another important part of a REST API. Protected endpoints should not be accessible to unauthorized users. In my implementation, token-based authentication was used so that users could log in and access protected task operations using an authentication token.&lt;/p&gt;

&lt;p&gt;During the development process, I also learned the importance of input validation and proper error handling. Testing different API requests helped me understand how the server responds to valid and invalid data. The Django REST Framework browsable API was useful for checking endpoints, request methods, responses, and authentication.&lt;/p&gt;

&lt;p&gt;This project gave me practical experience in backend development and helped me understand how different components of a REST API work together. I gained a better understanding of Django models, serializers, API views, authentication, CRUD operations, validation, and HTTP status codes.&lt;/p&gt;

&lt;p&gt;I also documented the API endpoints and their expected requests and responses so that the project would be easier for other developers to understand and use.&lt;/p&gt;

&lt;p&gt;Read the full article:&lt;br&gt;
&lt;a href="https://valentiuskryptix.com/how-to-build-crud-operations-using-django-rest-framework/" rel="noopener noreferrer"&gt;https://valentiuskryptix.com/how-to-build-crud-operations-using-django-rest-framework/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Key Takeaways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learned how to create CRUD operations using Django REST Framework.&lt;/li&gt;
&lt;li&gt;Understood serializers, API views, authentication, and validation.&lt;/li&gt;
&lt;li&gt;Practiced testing REST API endpoints and handling HTTP status codes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Overall, this project helped me strengthen my backend development skills and understand how REST APIs are designed, secured, tested, and used in real-world applications.&lt;/p&gt;

</description>
      <category>django</category>
      <category>python</category>
      <category>restapi</category>
      <category>backend</category>
    </item>
  </channel>
</rss>
