<?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: Rahul Nikam</title>
    <description>The latest articles on DEV Community by Rahul Nikam (@rahulnikam).</description>
    <link>https://dev.to/rahulnikam</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F770542%2Fd1c7be6c-4f2c-4b08-85ca-e9f23e731ab5.jpeg</url>
      <title>DEV Community: Rahul Nikam</title>
      <link>https://dev.to/rahulnikam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahulnikam"/>
    <language>en</language>
    <item>
      <title>GaavShahar: Your One-Stop Website for Plant Information</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Fri, 26 May 2023 12:54:20 +0000</pubDate>
      <link>https://dev.to/rahulnikam/gaavshahar-your-one-stop-website-for-plant-information-2pce</link>
      <guid>https://dev.to/rahulnikam/gaavshahar-your-one-stop-website-for-plant-information-2pce</guid>
      <description>&lt;p&gt;Plants are an essential part of our environment, adding beauty and freshness to our surroundings. Whether you are a seasoned gardener or just starting your journey in plant care, having access to reliable information is crucial. GaavShahar is a comprehensive website that provides a wealth of knowledge on various plants, helping you make informed decisions and nurture your green thumb. In this article, we will explore the features of &lt;a href="https://gaavshahar.in/" rel="noopener noreferrer"&gt;GaavShahar&lt;/a&gt; and delve into the plant categories, care guides, plant identification, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is GaavShahar?
&lt;/h2&gt;

&lt;p&gt;GaavShahar is an online platform dedicated to providing detailed information on a wide range of plants. It serves as a hub for plant enthusiasts, gardeners, and nature lovers alike, offering valuable insights into plant care, identification, and the overall world of flora. Whether you are looking for tips on nurturing indoor plants, landscaping with outdoor plants, or discovering the benefits of medicinal plants, GaavShahar has got you covered.&lt;/p&gt;

&lt;h3&gt;
  
  
  Features of GaavShahar
&lt;/h3&gt;

&lt;p&gt;GaavShahar stands out as a user-friendly and comprehensive resource for plant-related information. Here are some of the notable features that make GaavShahar an excellent choice for plant enthusiasts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Extensive Plant Database: GaavShahar boasts an extensive plant database, featuring thousands of species. From common household plants to rare and exotic specimens, you can find detailed profiles, images, and essential care instructions for each plant.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Plant Categories: GaavShahar categorizes plants into various types, making it easy to explore specific plant groups. The categories include &lt;a href="https://gaavshahar.in/blogs/The%20Top%205%20Houseplants%20for%20Air%20Purification%20by%20GaavShahar" rel="noopener noreferrer"&gt;indoor plants&lt;/a&gt;, outdoor plants, medicinal plants, and rare and exotic plants.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Plant Categories
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;a href="https://gaavshahar.in/blogs/The%20Top%205%20Houseplants%20for%20Air%20Purification%20by%20GaavShahar" rel="noopener noreferrer"&gt;Indoor Plants&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Indoor plants are a popular choice for adding greenery and freshness to interior spaces. GaavShahar offers a comprehensive guide to different types of indoor plants, helping you choose the right plants for your home or office. The guide covers aspects like light requirements, watering tips, and common issues faced by indoor plants.&lt;/p&gt;

&lt;h4&gt;
  
  
  Outdoor Plants
&lt;/h4&gt;

&lt;p&gt;Whether you have a spacious garden or a small balcony, outdoor plants can transform any outdoor area into a vibrant oasis. GaavShahar provides insights into various outdoor plant species, including flowering plants, shrubs, and trees. You can learn about their growth habits, ideal planting conditions, and maintenance tips.&lt;/p&gt;

&lt;h4&gt;
  
  
  Medicinal Plants
&lt;/h4&gt;

&lt;p&gt;Medicinal plants have been used for centuries for their healing properties. GaavShahar highlights the benefits and uses of different medicinal plants, such as aloe vera, chamomile, and lavender. You can discover their medicinal properties, cultivation techniques, and precautions for safe usage.&lt;/p&gt;

&lt;h4&gt;
  
  
  Rare and Exotic Plants
&lt;/h4&gt;

&lt;p&gt;For plant enthusiasts looking for unique and captivating specimens, GaavShahar offers a selection of rare and exotic plants. Learn about fascinating plants like the Venus flytrap, corpse flower, or orchid varieties. GaavShahar provides valuable insights into the specific care requirements and maintenance tips for these extraordinary plants.&lt;/p&gt;

&lt;h3&gt;
  
  
  Plant Care Guides
&lt;/h3&gt;

&lt;p&gt;Caring for plants requires attention to their specific needs. GaavShahar offers comprehensive care guides that cover essential aspects of plant nurturing. Here are some areas covered in these guides:&lt;/p&gt;

&lt;h4&gt;
  
  
  Watering and Fertilizing Tips
&lt;/h4&gt;

&lt;p&gt;Proper watering and &lt;a href="https://gaavshahar.in/blogs/Quick%20guide%20on%20how%20to%20Grow%20your%20own%20Herbs:%20Tips%20and%20Tricks%20for%20a%20Bountiful%20Harvest" rel="noopener noreferrer"&gt;fertilization&lt;/a&gt; are essential for healthy plant growth. GaavShahar provides detailed instructions on watering frequencies, appropriate fertilizers, and the importance of maintaining the right balance. You can learn how to avoid overwatering or underwatering your plants and understand the signs of nutrient deficiencies or excesses.&lt;/p&gt;

&lt;h4&gt;
  
  
  Sunlight and Temperature Needs
&lt;/h4&gt;

&lt;p&gt;Different plants have varying requirements for sunlight and temperature. GaavShahar helps you understand the light conditions preferred by various plant species, from full sun to partial shade. Additionally, you can explore the optimal temperature ranges for each plant, ensuring they thrive in their ideal environment.&lt;/p&gt;

&lt;h4&gt;
  
  
  Soil and Potting Tips
&lt;/h4&gt;

&lt;p&gt;Choosing the right soil and potting mix is crucial for plant health. GaavShahar provides guidance on selecting appropriate soil types, improving soil drainage, and creating suitable potting mixes for different plants. You can also learn about repotting techniques and the importance of using the correct pot sizes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Plant Identification
&lt;/h3&gt;

&lt;p&gt;Identifying plants accurately can be challenging, especially for beginners. GaavShahar offers tools and resources to help you identify plants with ease. Here are some aspects covered in the plant identification section:&lt;/p&gt;

&lt;h4&gt;
  
  
  Leaf Shape and Structure
&lt;/h4&gt;

&lt;p&gt;Leaves come in various shapes and sizes, and they play a vital role in plant identification. GaavShahar provides visual references and descriptions of different leaf shapes, including ovate, lanceolate, palmate, and more. Understanding leaf characteristics can assist you in determining the plant species accurately.&lt;/p&gt;

&lt;h4&gt;
  
  
  Flower Types and Colors
&lt;/h4&gt;

&lt;p&gt;Flowers are not only beautiful but also aid in plant identification. GaavShahar showcases a wide array of flower types and colors, along with their associated plant species. Whether you are intrigued by vibrant blooms or subtle blossoms, you can explore the diverse world of flowers and learn about their significance in plant identification.&lt;/p&gt;

&lt;h4&gt;
  
  
  Plant Diseases and Treatments
&lt;/h4&gt;

&lt;p&gt;Plant diseases can hinder their growth and overall health. GaavShahar equips you with knowledge about common plant diseases, their symptoms, and effective treatments. By understanding the signs of plant ailments, you can take timely action to prevent the spread of diseases and ensure the well-being of your plants.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;GaavShahar is an invaluable resource for plant enthusiasts seeking information, tips, and guidance. From comprehensive plant profiles to care guides and plant identification tools, GaavShahar covers a vast array of topics related to plants. Whether you want to create a flourishing indoor garden, design an outdoor landscape, or explore the intriguing world of rare plants, GaavShahar empowers you with the knowledge and insights to succeed in your plant endeavors.&lt;/p&gt;

&lt;h3&gt;
  
  
  FAQs
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Is GaavShahar a free website?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Yes, GaavShahar provides free access to all its plant-related information and resources.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Can I contribute to GaavShahar's plant database?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GaavShahar encourages contributions from plant enthusiasts. You can share your knowledge and experiences by submitting plant profiles or relevant articles.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How often is GaavShahar updated with new content?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GaavShahar is regularly updated with new content to ensure users have access to the latest&lt;/p&gt;

</description>
      <category>gaavshahar</category>
    </item>
    <item>
      <title>Best coding classes in Pune at an affordable price - Pixs Classes</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Sat, 21 Jan 2023 10:42:34 +0000</pubDate>
      <link>https://dev.to/rahulnikam/best-coding-classes-in-pune-at-an-affordable-price-pixs-classes-121b</link>
      <guid>https://dev.to/rahulnikam/best-coding-classes-in-pune-at-an-affordable-price-pixs-classes-121b</guid>
      <description>&lt;h2&gt;
  
  
  What are Pixs Classes
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pixsclasses.vercel.app/" rel="noopener noreferrer"&gt;&lt;strong&gt;Pixs classes&lt;/strong&gt;&lt;/a&gt; is a coding academy that empowers people to learn, create and grow, also it is a child organization of PixsDev They provide the best interactive coding classes in Pune.&lt;/p&gt;

&lt;p&gt;Pixs classes are designed for students who want to learn programming languages and &lt;a href="https://pixsclasses.vercel.app/technologies" rel="noopener noreferrer"&gt;technologies&lt;/a&gt;. They help students understand the basics of computer science and give them an opportunity to learn and practice hands-on in class.&lt;/p&gt;

&lt;p&gt;Their mission is to make technology accessible to everyone, whether they're young or old, experienced or new learners. They aim to inspire people through their coding classes, workshops and community events.&lt;/p&gt;

&lt;p&gt;The curriculum is designed for students aged 8- No Limits years old, but the platform can be used by anyone who wishes to learn about coding or gain skills in this area. Pixs classes aim at helping children learn how to code and think creatively, as well as teaching them valuable life skills such as problem-solving, critical thinking and creativity.&lt;/p&gt;

&lt;p&gt;The company taught more than 100 students last year from all over India and has helped them build apps that they can sell in the app store.&lt;/p&gt;

&lt;p&gt;The classes are held in online modes, like on Google Meet every day from 7 PM to 8 PM, etc., They have developed their own unique teaching methodology for these classes with great success. This year, Pixs Classes is expanding to another city and they are looking for passionate people who want to learn how to code.&lt;/p&gt;

&lt;p&gt;They’re also hiring teachers from across the country who can work from home. If you have an interest in teaching children about coding and software development, this could be a great opportunity for you! &lt;/p&gt;

&lt;p&gt;The company has also developed a unique teaching methodology for these classes with great success. They have over 100 students who have learned the basics of coding, including Java and Python, JavaScript through their online classes. &lt;/p&gt;

&lt;p&gt;The students who have taken these classes have created websites. apps and Desktop software that they can sell in the app store and Play Store. This is an excellent opportunity for people who wish to learn coding or gain skills in this area. &lt;/p&gt;

&lt;p&gt;The classes are very interactive and engaging. They use a combination of videos, games and quizzes to help students learn at their own pace. Students are encouraged to ask questions and interact with the instructors during live sessions. &lt;/p&gt;

&lt;p&gt;Pixs classes believe that learning should be fun, so they make sure that their students enjoy every moment of the class. They don't charge monthly it's just One Time Fees that start from only ₹499. They have a wide range of courses for different levels. &lt;/p&gt;

&lt;p&gt;They also have a WhatsApp Group where users can post questions and get answers from other users as well as instructors. They have an excellent support system in place, so if you encounter any problems while using their software The classes are held live every week from Monday to Friday at 7 pm. This is a great time for students to attend since it doesn't interfere with their work schedule. Students can also watch videos at any time of the day or night and complete their assignments whenever they have some free time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fees structure in Pixs Classes
&lt;/h2&gt;

&lt;p&gt;Currently, they have launched their 3 top courses,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://pixsclasses.vercel.app/courses/Frontend%20Development%20Bootcamp%202023" rel="noopener noreferrer"&gt;Frontend Development by Pixs Classes.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pixsclasses.vercel.app/courses/Full%20Stack%20Development%20%7C%20MERN,%20Next.js%20%7C%20Frontend,%20Backend,%20Database,%20Deployment" rel="noopener noreferrer"&gt;Full Stack Development (MERN + Next.js) with Deployment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pixsclasses.vercel.app/courses/Data%20Structures%20and%20Algorithm%20%7C%2050%20plus%20Problems%20solved!" rel="noopener noreferrer"&gt;Data Structures and Algorithms with 50+ live problem solving&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why choose Pixs Classes?
&lt;/h3&gt;

&lt;p&gt;The most important thing is they don't charge fees on a monthly basis rather than they charge one-time fees that start from ₹499/course, which is really a great thing, Because other courses providers do charge on monthly basis and they don't teach students  live, that's the reason Pixs Classes are the best interactive coding classes.&lt;/p&gt;

&lt;p&gt;Also, they have a cool website design which is really user-friendly for all the users, below I'm adding some images of their website or you can check it on &lt;a href="https://pixsclasses.vercel.app/" rel="noopener noreferrer"&gt;Pixs Classes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhoz55sxasrf5bj7k0a2k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhoz55sxasrf5bj7k0a2k.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fozrnn6duaihq8208255d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fozrnn6duaihq8208255d.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;You can call or WhatsApp them at &lt;a href="https://wa.me/918767213959" rel="noopener noreferrer"&gt;8767213959 &lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>programming</category>
    </item>
    <item>
      <title>Detailed Explained: What is ChatGPT? Its Uses, How it can change the future? Can we create our own ChatGPT?</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Wed, 21 Dec 2022 22:02:30 +0000</pubDate>
      <link>https://dev.to/rahulnikam/detailed-explained-what-is-chatgpt-its-uses-how-it-can-change-the-future-can-we-create-our-own-chatgpt-3804</link>
      <guid>https://dev.to/rahulnikam/detailed-explained-what-is-chatgpt-its-uses-how-it-can-change-the-future-can-we-create-our-own-chatgpt-3804</guid>
      <description>&lt;p&gt;&lt;a href="https://merahulnikam.web.app" rel="noopener noreferrer"&gt;ChatGPT&lt;/a&gt; is a chatbot that uses machine learning to help users make better financial decisions. The chatbot can answer questions about insurance, retirement planning, and investing. It can also suggest products or services from companies that offer these services.&lt;/p&gt;

&lt;p&gt;ChatGPT was fine-tuned on top of GPT-3.5 using supervised learning as well as reinforcement learning. Both approaches used human trainers to improve the model’s performance. In the case of supervised learning, the model was provided with conversations in which the trainers played both sides: the user and the AI assistant.&lt;/p&gt;

&lt;p&gt;In the reinforcement step, human trainers first ranked responses that the model had created in a previous conversation. These rankings were used to create ‘reward models’ that the model was further fine-tuned on using several iterations of Proximal Policy Optimization (PPO) Proximal Policy Optimization algorithms present a cost-effective benefit to trust region policy optimization algorithms; they negate many of the computationally expensive operations with faster performance. The models were trained in collaboration with Microsoft on their Azure supercomputing infrastructure.&lt;/p&gt;

&lt;p&gt;To use ChatGPT, you would provide it with a prompt (e.g., a question or statement) and it would generate a response based on the prompt. The response generated by ChatGPT will be based on the patterns and styles of language it has learned from the training data, so it should be able to produce responses that are similar to those that a human might give in a similar conversation.&lt;/p&gt;

&lt;p&gt;One of the main advantages of using a chatbot based on ChatGPT is that it can generate responses that are more coherent and natural-sounding than those produced by a simple rule-based chatbot. This can make the chatbot more engaging and easier to use for users, which can be especially useful in customer service or other contexts where the chatbot is interacting with people.&lt;/p&gt;

&lt;h2&gt;
  
  
  How ChatGPT can change the future?
&lt;/h2&gt;

&lt;p&gt;Chatbots are a rapidly growing category of software that can help businesses to automate common customer service interactions.&lt;/p&gt;

&lt;p&gt;The term “chatbot” refers to &lt;a href="https://www.fiverr.com/rahulnikam2002/create-a-high-quality-secure-and-super-fast-website-for-just-rs-2000?gig_id=291170478&amp;amp;utm_campaign=base_gig_create_share&amp;amp;utm_content=&amp;amp;utm_medium=shared&amp;amp;utm_source=get_url&amp;amp;utm_term=&amp;amp;view=gig" rel="noopener noreferrer"&gt;software&lt;/a&gt; that uses artificial intelligence to interact with people in natural-sounding language. Chatbots can respond to various types of questions and requests, either for the purpose of providing information or completing transactions.&lt;/p&gt;

&lt;p&gt;Chatbots are used in a variety of different applications, including customer service, marketing, sales and operations. One recent application is helping doctors diagnose patients more quickly and accurately by using chatbots based on advanced language models (ALMs) such as ChatGPT.&lt;/p&gt;

&lt;p&gt;Overall, it is likely that ChatGPT and other advanced language models will continue to be an important part of the future of chatbots and other AI-powered applications, and will help to shape the way we interact with technology in the coming years.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can we create our own ChatGPT?
&lt;/h2&gt;

&lt;p&gt;Yes, it is possible to create your own ChatGPT model by training a GPT model on a dataset of conversational text.&lt;/p&gt;

&lt;p&gt;To do this, you would need to first collect a large dataset of conversations that you want the model to be able to generate responses for. This dataset should include a wide variety of different conversations and should be representative of the types of conversations that you want the model to be able to handle.&lt;/p&gt;

&lt;p&gt;After collecting this dataset, you can train your GPT model to generate responses for each conversation in the dataset. Once trained, the chatbot can then respond whenever someone asks it a question using its learned responses from the training set.&lt;/p&gt;

&lt;p&gt;Once you have your dataset, you can use it to train a GPT model by providing it with the prompts and responses from the conversations in your dataset and allowing it to learn the patterns and styles of language used in these conversations. This process is known as “fine-tuning,” and it involves adjusting the model’s parameters so that it can generate responses that are more similar to those that a human might give in a similar conversation.&lt;/p&gt;

&lt;p&gt;There are a number of open-source tools and libraries that you can use to train your own ChatGPT model, including Hugging Face’s Transformers library. These tools can make it easier to train and fine-tune your model, and can help you to get started with creating your own ChatGPT chatbot.&lt;/p&gt;

&lt;p&gt;It’s worth noting, however, that creating a high-quality ChatGPT model can be a complex and time-consuming process, and it will typically require a significant amount of computing resources and expertise in machine learning and natural language processing. As a result, it may not be practical for everyone to create their own ChatGPT model from scratch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is ChatGPT used for?
&lt;/h2&gt;

&lt;p&gt;ChatGPT is a variant of the GPT (Generative Pre-training Transformer) language model that has been specifically designed for chatbot applications. As such, it is typically used to generate responses in a chatbot context, either in real-time conversations with users or in pre-written responses to common questions or scenarios.&lt;/p&gt;

&lt;p&gt;Some possible uses for ChatGPT include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Customer service: ChatGPT can be used to power chatbots that provide fast and accurate responses to customer inquiries, helping businesses to improve the customer experience and reduce the cost of providing customer service.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Content generation: ChatGPT can be used to generate coherent and natural-sounding responses to prompts, which can be useful for creating content for websites or social media.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Personalization: ChatGPT can be used to generate personalized recommendations or responses based on a user’s history or preferences, which can be useful in a variety of applications, such as online shopping or entertainment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Business automation: ChatGPT can be used to automate certain aspects of business operations, such as responding to routine inquiries or generating reports.&lt;br&gt;
Overall, ChatGPT is a powerful tool for generating human-like text in a chatbot context, and it can be used in a wide variety of applications where a chatbot is needed to interact with users or perform tasks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What type of AI is ChatGPT?
&lt;/h2&gt;

&lt;p&gt;ChatGPT is a variant of the GPT (Generative Pre-training Transformer) language model, which is a type of artificial intelligence (AI) that is designed to generate human-like text. GPT models are based on a machine learning technique known as “transformer” architecture, which allows them to handle long-term dependencies in text and generate coherent and natural-sounding responses to prompts.&lt;/p&gt;

&lt;p&gt;GPT models, including ChatGPT, are examples of “generative” AI, which means that they are capable of generating new content based on the patterns and styles of the language they have learned from training data. In the case of ChatGPT, this training data consists of a large dataset of conversational text, which allows the model to generate responses that are particularly well-suited for chatbot applications.&lt;/p&gt;

&lt;p&gt;Overall, ChatGPT is a type of AI that is used to generate text in a chatbot context, and it is based on the GPT language model and transformer architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  How many users does ChatGPT have?
&lt;/h2&gt;

&lt;p&gt;It is difficult to estimate the number of users of ChatGPT specifically, as ChatGPT is a variant of the GPT language model that is used to power chatbots, and it is not a standalone product or service that is directly accessed by users.&lt;/p&gt;

&lt;p&gt;Instead, ChatGPT is typically used by developers to create chatbots for a variety of applications, such as customer service, content generation, personalization, and business automation. These chatbots can then be used by a wide range of users, depending on the specific application.&lt;/p&gt;

&lt;p&gt;For example, a chatbot powered by ChatGPT might be used by customers to get help with a product or service, or it might be used by employees to automate certain aspects of their work. In either case, the number of users of the chatbot would depend on the specific application and the user base of the product or service it is associated with.&lt;/p&gt;

&lt;p&gt;Overall, it is likely that ChatGPT has a large number of users, as chatbots powered by GPT and other advanced language models are becoming increasingly common in a wide range of applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is chat gpt3?
&lt;/h2&gt;

&lt;p&gt;GPT-3 (Generative Pre-trained Transformer 3) is a language generation model developed by OpenAI. It is trained to generate human-like text and can be used for a variety of natural language processing tasks such as language translation, summarization, and text generation.&lt;/p&gt;

&lt;p&gt;It is not clear what you mean by “chat GPT-3.” If you are referring to using GPT-3 for chat or conversation, it is possible to use GPT-3 for this purpose by training it on a dataset of chat or conversation data and then using it to generate responses to user input. However, it is important to note that GPT-3 is a general-purpose language model and may not necessarily be optimized for chat or conversation specifically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who creates ChatGPT?
&lt;/h2&gt;

&lt;p&gt;It was developed by OpenAI, a research organization that focuses on artificial intelligence and machine learning. GPT-3 is a large language model that was trained on a massive amount of data and can be used for a variety of natural language processing tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why is GPT-3 so important?
&lt;/h2&gt;

&lt;p&gt;GPT-3 (Generative Pre-trained Transformer 3) is considered an important development in the field of natural language processing (NLP) because of its size and ability to generate human-like text.&lt;/p&gt;

&lt;p&gt;GPT-3 is one of the largest language models currently available, with 175 billion parameters. It was trained on a massive dataset of web pages, books, and other text, which allows it to generate text that is highly coherent and resembles human writing. This makes it useful for a variety of NLP tasks such as language translation, summarization, and text generation.&lt;/p&gt;

&lt;p&gt;GPT-3 has also been used to create chatbots and other conversational AI systems and has the potential to be used in a variety of applications where language understanding and generation is important. Overall, GPT-3 is considered an important development in the field of NLP and has received significant attention from researchers and the media.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is GPT-3 only English?
&lt;/h2&gt;

&lt;p&gt;GPT-3 (Generative Pre-trained Transformer 3) is a language model that was trained on a large dataset of web pages, books, and other text, which includes a mix of languages. However, it is primarily designed to process and generate English text, as the vast majority of the training data consists of English text.&lt;/p&gt;

&lt;p&gt;GPT-3 can be fine-tuned on additional datasets in other languages, and it is possible to use it for tasks such as language translation and text generation in languages other than English. However, it may not perform as well on these tasks as it&lt;/p&gt;

&lt;h2&gt;
  
  
  Is GPT-3 available for free?
&lt;/h2&gt;

&lt;p&gt;For now, it’s free as it’s Research Preview but Processing artificial intelligence model developed by OpenAI. It is not available for free to the general public. Access to GPT-3 requires a paid subscription through the OpenAI API, which is a service that allows developers to use GPT-3 in their own applications. Prices for the API start at $0.75 per thousand API requests for the smallest version of GPT-3 and go up to $3 per thousand requests for the largest version. You can find more information about the OpenAI API and how to sign up for an account on the OpenAI website.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can GPT-3 write code?
&lt;/h2&gt;

&lt;p&gt;GPT-3 is a large language processing model that is capable of generating human-like text, but it is not designed to write code. It is primarily intended for natural language processing tasks, such as language translation, text summarization, and question answering.&lt;/p&gt;

&lt;p&gt;While GPT-3 may be able to generate code-like text and even produce valid code snippets in some cases, it is not a programming language and does not have the ability to understand the structure and meaning of code the way a programmer or a compiler would. It is not capable of writing complete and functional programs on its own.&lt;/p&gt;

&lt;p&gt;However, it is possible to use GPT-3 in combination with other tools and techniques to automate certain aspects of &lt;a href="https://www.fiverr.com/rahulnikam2002/create-a-high-quality-secure-and-super-fast-website-for-just-rs-2000?gig_id=291170478&amp;amp;utm_campaign=base_gig_create_share&amp;amp;utm_content=&amp;amp;utm_medium=shared&amp;amp;utm_source=get_url&amp;amp;utm_term=&amp;amp;view=gig" rel="noopener noreferrer"&gt;software&lt;/a&gt; development. For example, you could use GPT-3 to generate code templates or boilerplate code based on input provided by a developer or to suggest code snippets or entire modules that could be used to solve a particular problem. Such applications would require the integration of GPT-3 with a programming environment and the use of specialized &lt;a href="https://www.fiverr.com/rahulnikam2002/create-a-high-quality-secure-and-super-fast-website-for-just-rs-2000?gig_id=291170478&amp;amp;utm_campaign=base_gig_create_share&amp;amp;utm_content=&amp;amp;utm_medium=shared&amp;amp;utm_source=get_url&amp;amp;utm_term=&amp;amp;view=gig" rel="noopener noreferrer"&gt;software&lt;/a&gt; or libraries to interpret and execute the code generated by the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is GPT-3 a threat?
&lt;/h2&gt;

&lt;p&gt;While it has the potential to be a useful tool for tasks such as language translation, text summarization, and question answering, it could also potentially be used to spread misinformation or propaganda or to automate the creation of spam or abusive content.&lt;/p&gt;

&lt;p&gt;It is important to use caution and to consider the potential consequences when using GPT-3 or any other advanced technology. It is also important to ensure that such technologies are used ethically and responsibly and to consider the potential risks and impacts on society.&lt;/p&gt;

&lt;p&gt;Check out one of my best articles about &lt;a href="https://medium.com/@codewithrahulnikam/pixsdev-their-services-and-is-it-the-best-company-to-work-with-801644f0067f" rel="noopener noreferrer"&gt;PixsDev Software Company&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Want to learn to code?
&lt;/h3&gt;

&lt;p&gt;Join PixsClasses, a Child organization on PixsDev, One of the best live interactive coding classes in Pune (Online Everywhere!) - &lt;a href="https://classes.pixsdev.com/" rel="noopener noreferrer"&gt;PixsClasses&lt;br&gt;
&lt;/a&gt;&lt;br&gt;
&lt;a href="https://classes.pixsdev.com/courses/Full%20Stack%20Development%20%7C%20MERN,%20Next.js%20%7C%20Frontend,%20Backend,%20Database,%20Deployment" rel="noopener noreferrer"&gt;Learn Full Stack development from Pixs Classes&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>openai</category>
      <category>rahulnikam</category>
      <category>gpt3</category>
    </item>
    <item>
      <title>What is PixsDev, what services PixsDev provide, and why it is the best company to build your software at an affordable price?</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Sun, 18 Dec 2022 22:02:31 +0000</pubDate>
      <link>https://dev.to/rahulnikam/what-is-pixsdev-what-services-pixsdev-provide-and-why-it-is-the-best-company-to-build-your-software-at-an-affordable-price-10h1</link>
      <guid>https://dev.to/rahulnikam/what-is-pixsdev-what-services-pixsdev-provide-and-why-it-is-the-best-company-to-build-your-software-at-an-affordable-price-10h1</guid>
      <description>&lt;h2&gt;
  
  
  What is PixsDev?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;PixsDev&lt;/strong&gt; is a &lt;strong&gt;software company&lt;/strong&gt; which helps small to large scale businesses to create, develop and optimize complex software, Websites and Mobile Applications. We have working experience with major Brands across various industries such as FMCG, Banking, Retail, Automobile, Education etc. we are specialized in providing high-quality web applications and mobile app development services. We offer our customers the best and most efficient services with a team of professional multilingual developers, designers and consultants. Our charges start from 2000 Indian rupees only and we do have &lt;a href="https://merahulnikam.web.app" rel="noopener noreferrer"&gt;experience&lt;/a&gt; of more than 4 years in this field.&lt;/p&gt;




&lt;h2&gt;
  
  
  What services does PixsDev provide?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Web Application Development.&lt;/li&gt;
&lt;li&gt;Mobile Application Development.&lt;/li&gt;
&lt;li&gt;Website Designing.&lt;/li&gt;
&lt;li&gt;Desktop App Development.&lt;/li&gt;
&lt;li&gt;Web Component Development.&lt;/li&gt;
&lt;li&gt;WordPress Website Development.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What technologies do PixsDev uses to create software?
&lt;/h2&gt;

&lt;p&gt;We use a lot of technologies for our software development but these are decided on basis of the customer's requirement.&lt;/p&gt;

&lt;p&gt;We use ReactJs, React Native, Node.js, JavaScript, Python, Java, MongoDB, MySQL, HTML, CSS and more technologies to build the software.&lt;/p&gt;

&lt;p&gt;For the website, we mostly use React.js, Node.js and MongoDB which are the top-growing technologies in the market and give the best and high-quality performance to websites.&lt;/p&gt;

&lt;p&gt;For Mobile Applications, we mostly use React native as this technology is most favourite for developers as well as for the application because it gives you easy development with less code base with smooth performance for both Android and IOS devices.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why PixsDev is the best company to build your software at an affordable price?
&lt;/h2&gt;

&lt;p&gt;When it comes to building your software, websites and applications, PixsDev is the best company you can ever find.&lt;/p&gt;

&lt;p&gt;PixsDev provides a full range of services that are designed to help businesses and individuals create their own online presence. Our team of experts will take the time to understand your business needs and provide you with the best solution possible.&lt;/p&gt;

&lt;p&gt;We have years of experience in creating websites and software applications, so we know what it takes to create something that works for your company or organization. From our experience, we can tell you that there are many companies out there who claim they can build your website or application for you at an affordable price but they end up charging a lot more than what they promised because they cut corners on quality or don't make sure they follow all the guidelines needed for building a successful website or application.&lt;/p&gt;

&lt;p&gt;Our team has been working with small businesses over the years and we have seen firsthand how difficult it is for them to get things done without any help from anyone else. So when you hire us, we will be there by your side every step of the way until we deliver an outstanding product that meets all of your business requirements and serves as an effective marketing tool for your organization!&lt;/p&gt;

&lt;p&gt;We are one of the most reliable companies to work with because we have a group of experienced and talented professionals who can work on your project in the most effective way possible.&lt;/p&gt;

&lt;p&gt;PixsDev has been in the IT industry for more than 4 years, providing reliable service to its clients. We have built our reputation on being innovative and flexible in our approach to development. Our team consists of highly skilled professionals who are constantly improving their skills with new technologies, practices and methodologies.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to contact PixsDev?
&lt;/h2&gt;

&lt;p&gt;You can contact us via social media (WhatsApp) or can directly call us. Our customer support team will answer your queries as soon as possible and take care of your problem. And the fun fact is we are available 24*7😛&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Social Media Handles:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Call Us: &lt;a href="http://tel:8767213959" rel="noopener noreferrer"&gt;8767213959&lt;/a&gt; (Rahul Nikam) | &lt;a href="http://tel:8329187769" rel="noopener noreferrer"&gt;8329187769&lt;/a&gt; (Harish Choudhary)&lt;br&gt;
WhatsApp: &lt;a href="https://wa.me/918767213959" rel="noopener noreferrer"&gt;8767213959&lt;/a&gt; (Rahul Nikam) | &lt;a href="https://wa.me/917558693383" rel="noopener noreferrer"&gt;7558693383&lt;/a&gt; (Harish Choudhary)&lt;/p&gt;

</description>
      <category>pixsdev</category>
      <category>softwareataffordableprice</category>
      <category>pixsdevdevelopers</category>
    </item>
    <item>
      <title>(Premium)OAuth 2.0 (Google) using NodeJS, MySQL, JWT + ReactJS</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Tue, 08 Feb 2022 07:02:55 +0000</pubDate>
      <link>https://dev.to/rahulnikam/premiumoauth-20-google-using-nodejs-mysql-jwt-reactjs-4kgd</link>
      <guid>https://dev.to/rahulnikam/premiumoauth-20-google-using-nodejs-mysql-jwt-reactjs-4kgd</guid>
      <description>&lt;h2&gt;
  
  
  Why this blog?
&lt;/h2&gt;

&lt;p&gt;As &lt;strong&gt;OAuth2.0 Authentication&lt;/strong&gt; functionality is fundamentally complicated to implement using tech stack such as &lt;strong&gt;ReactJS&lt;/strong&gt;, &lt;strong&gt;NodeJS&lt;/strong&gt;, &lt;strong&gt;MySQL&lt;/strong&gt; &amp;amp; &lt;strong&gt;JWT&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;I wanted to specifically add Google's oAuth2.0 functionality in one of my Products but this was the thing which I was going to do for the very first time so I was a bit confused about how to recognize or to know whether the user is login or not and many of the developers are comfortable with JWT rather than any other library and the main thing is how to store data in Database and what kind of data to store in a database especially in MySQL.&lt;/p&gt;

&lt;p&gt;I haven't found any Repository or Blogs or any YouTube video which will explain oAuth2.0 easily including adding &lt;strong&gt;Tokens in user's cookies&lt;/strong&gt; and &lt;strong&gt;Storing Data in MySQL&lt;/strong&gt;, So I thought this Repository will help you not to get confused with Google's oAuth2.0&lt;/p&gt;

&lt;p&gt;I'm not writing a complete article here, but I have a codebase and I have uploaded it on GitHub also I have added comments so that it will be easy to understand.&lt;/p&gt;

&lt;p&gt;GitHub Link - &lt;a href="https://github.com/rahulnikam2002/Google-oAuth2.0-ReactJS-NodeJs-Mysql" rel="noopener noreferrer"&gt;OAuth2.0&lt;/a&gt; &lt;br&gt;
And don't forget to star this Repository👀&lt;/p&gt;

</description>
      <category>oauth2</category>
      <category>node</category>
      <category>mysql</category>
      <category>jwt</category>
    </item>
    <item>
      <title>[Easy] Complete user Login and Registration using NodeJS, ExpressJs, MySQL and JWT.</title>
      <dc:creator>Rahul Nikam</dc:creator>
      <pubDate>Fri, 10 Dec 2021 19:23:07 +0000</pubDate>
      <link>https://dev.to/rahulnikam/complete-user-login-and-registration-system-using-nodejs-mysql-and-jwt-3ddk</link>
      <guid>https://dev.to/rahulnikam/complete-user-login-and-registration-system-using-nodejs-mysql-and-jwt-3ddk</guid>
      <description>&lt;p&gt;Couple months back I was also searching for the same thing, But unluckily I couldn't find any good resources from YouTube and from Google, But somehow from visiting 10 different website for 10 different things I finally managed to get idea of Login and Registration System in NodeJS and MySQL. The thing to get noticed is you will find many resources of Login and Registration System using NodeJS and MongoDB, but there are very few for MySQL or I'll say few with no sense. &lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites:
&lt;/h2&gt;

&lt;p&gt;You should be knowing basic of JavaScript, HTML, CSS, Bootstrap, NodeJS, Express, MySQL and its fine if you don't know have advance knowledge in this after completely reading this article you will get the complete IDEA.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Dependencies:
&lt;/h2&gt;

&lt;p&gt;Install NodeJS and XAMPP,&lt;br&gt;
NodeJS - &lt;a href="https://nodejs.org/en/download/" rel="noopener noreferrer"&gt;Download NodeJs&lt;/a&gt;&lt;br&gt;
XAMPP - &lt;a href="https://www.apachefriends.org/download.html" rel="noopener noreferrer"&gt;Download XAMPP&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Run the following command in your root directory terminal: &lt;br&gt;
&lt;code&gt;npm install express express-handlebars mysql nodemon bcrypt body-parser cookie-parser dotenv jsonwebtoken&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Look at the folder structure!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0a1z1x34ejziz4dszcob.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0a1z1x34ejziz4dszcob.png" alt="Folder Structure" width="246" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating Server:
&lt;/h2&gt;

&lt;p&gt;Type the following code in app.js.&lt;/p&gt;






&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const express = require('express');
const app = express();
const port = process.env.PORT || 5000;

app.listen(port, () =&amp;gt; {
    console.log('Server Started');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create a server on Port 5000. Now you can open &lt;a href="http://localhost:5000" rel="noopener noreferrer"&gt;http://localhost:5000&lt;/a&gt; on your browser but before that, creating server is not only the thing we have to do so let's import all other dependencies and start writing the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating Database and Table:
&lt;/h2&gt;

&lt;p&gt;Create a database and one table, Table should include field like id, name, email, password and bio. Make sure to crange the name of database and table from the code which I have provided.&lt;/p&gt;

&lt;h2&gt;
  
  
  Main Code:
&lt;/h2&gt;

&lt;p&gt;In app.js start typing the following code, Check the comments for better understanding.&lt;/p&gt;






&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const express = require('express');
const mysql = require('mysql');
const exphbs = require('express-handlebars');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
require('dotenv').config();

const app = express();
const port = process.env.PORT || 5000;

app.use(bodyParser.urlencoded({
    extended: false
}))

// Converting JSON to JavaScript Objects
app.use(bodyParser.json());

// Accessing Cookies from user's Browser
app.use(cookieParser())

// Telling our backend that the static files of our website are going to be in which folder!!
app.use(express.static('public'));

//Template Engines 
app.engine("hbs", exphbs({ extname: '.hbs' }))
app.set('view engine', 'hbs');

// DataBase Credentials
const pool = mysql.createPool({
    connectionLimit: 100,
    host           : 'localhost',
    user           : 'root',
    password       : '',
    database       : 'users',
})

// Connecting to DB
pool.getConnection((err, connection)=&amp;gt;{
    if(err){
        throw err;
    }
    else{
        console.log('Connection Successful and Connected');
    }
});

// All Routers Middleware Setup =&amp;gt; 
const homeRoutes = require('./server/routes/homeRoutes');
app.use('/', homeRoutes);

const authRoutes = require('./server/routes/authRoutes');
app.use('/auth', authRoutes);

app.listen(port, () =&amp;gt; {
    console.log('Server Started');
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;NOTE : make sure to hide your database credentials in .env file.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Creating Routes:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//type this following code in authRoute.js

const router = require('express').Router();
const { tokenValidation } = require('../../auth/userToken');
const controllers = require('../controllers/authController');

// Routes
// Login
router.get('/login', controllers.ViewLoginPage)
router.post('/login', controllers.Loginuser)

// Register
router.get('/register', controllers.ViewRegisterPage)
router.post('/register', controllers.RegisterNewPage)

module.exports = router;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;








&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const router = require('express').Router();
const controllers = require('../controllers/homeController');
const { tokenValidation } = require('../../auth/userToken');

// Routes
router.get('/', controllers.HomePage);
router.get('/user-profile', tokenValidation, controllers.userProfilePage);

//NOTE: dont get confuse with why am i passing to middlewares in route user-profile, once we learn the JWT then you will get this.

module.exports = router;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Creating Controllers for Home and Auth:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//type the following code in authControllers.js


const mysql = require('mysql');
const { hashSync, genSaltSync, compareSync } = require('bcrypt');
const { sign } = require('jsonwebtoken');
require('dotenv').config();

const pool = mysql.createPool({
    connectionLimit: 100,
    host: "localhost",
    user: "root",
    password: "",
    database: "users",
})


exports.ViewLoginPage = (req, res) =&amp;gt; {
    res.render('login', { title: 'Login' })
}
exports.ViewRegisterPage = (req, res) =&amp;gt; {
    res.render('register', { title: 'Register' })
}


//Registration of user
exports.RegisterNewPage = (req, res) =&amp;gt; {
    const {name, email, password, bio} = req.body;

    //Generating salt for Hashing
    const salt = genSaltSync(10);

    //Hashing the password
    const hashPassword = hashSync(password, salt);


    // Connecting to DB
    pool.getConnection((err, connection) =&amp;gt; {
        if (err) {
            throw err;
        }
        else {
            connection.query('select email from users where email = ?', [email], (err, data) =&amp;gt; {
                console.log(data)
                if (data.length != 0) {
                    res.render('register', {message: 'Already Registered'})

                }
                else{
                    connection.query('INSERT INTO users SET name = ?, email = ?, bio = ?, password = ?', [name, email, bio, hashPassword], (err, newRegisteredUser) =&amp;gt; {
                        if(err){
                            res.render('register', {message: 'Something went wrong, Please try again'})
                        }
                        res.redirect('/auth/login/')
                    })
                }
            })


        }
    });
}

//Login the user
exports.Loginuser = (req,res) =&amp;gt; {
    const {email, password} = req.body;
    pool.getConnection((err, connection) =&amp;gt; {
        if (err) {
            throw err;
        }
        else {
            connection.query('SELECT * FROM users WHERE email = ?', [email], (err,data) =&amp;gt; {
                if(err){
                    res.render('login', {message: 'Email or Password is Incorrect'});
                }
                if(data.length == 0){
                    res.render('login', {message: `Email Doesn't exist, Try to register`})
                }
                else{
                    const checkPassword = compareSync(password, data[0].password);
                    if(checkPassword){

                    //Creating the token for logged in user
                        const userToken = sign({result: data[0].email}, process.env.SECRET_KEY, {
                            expiresIn: '600s'
                        })

                        //Sending the token to user's cookie
                        res.cookie('userToken', userToken, {
                            expires: new Date(Date.now() + 600000),
                            httpOnly: true
                        })
                        console.log(userToken)
                        res.redirect('/')
                    };
                    else{
                        res.render('login', {message: 'Email or Password is Incorrect'})
                    };
                };
            });
        };
    });
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;








&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type the following code in homeControllers.js

const cookieParser = require('cookie-parser');
const { verify } = require('jsonwebtoken');
const mysql = require('mysql');
require('dotenv').config();

const pool = mysql.createPool({
    connectionLimit: 100,
    host: "localhost",
    user: "root",
    password: "",
    database: "users",
})

exports.HomePage = (req, res) =&amp;gt; {
    const userToken = req.cookies.userToken;
    if (userToken) {
        verify(userToken, process.env.SECRET_KEY, (err, decoded) =&amp;gt; {
            if (err) {
                res.render('home',{ notUser: true })
            }
            else {
                let userEmail = decoded.result;
                pool.getConnection((err, connection) =&amp;gt; {
                    if (err) {
                        throw err;
                    }
                    else {
                        connection.query('SELECT * FROM users WHERE email = ?', [userEmail], (err,data) =&amp;gt; {
                            res.render('home', {data})
                        })  
                    }
                });

            }
        })
    }
    else {
        res.render('home',{notUser: true})
    }
}


exports.userProfilePage = (req, res) =&amp;gt; {
    const userToken = req.cookies.userToken;
    if (userToken) {
        verify(userToken, process.env.SECRET_KEY, (err, decoded) =&amp;gt; {
            if (err) {
                res.redirect('/auth/login/')
            }
            else {
                let userEmail = decoded.result;
                pool.getConnection((err, connection) =&amp;gt; {
                    if (err) {
                        throw err;
                    }
                    else {
                        connection.query('SELECT * FROM users WHERE email = ?', [userEmail], (err,data) =&amp;gt; {
                            res.render('userProfile', {data})
                        })  
                    }
                });

            }
        })
    }
    else {
        res.redirect('/auth/login/')
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Checking whether the user is Login Or Not:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type this code in userToken.js

const { verify } = require('jsonwebtoken');
require('dotenv').config()

exports.tokenValidation = (req,res,next) =&amp;gt; {

    //geeting the stored cookie from user
    const userToken = req.cookies.userToken;
    if(userToken){

        //verifiying the stored cookie from user
        verify(userToken, process.env.SECRET_KEY, (err, decoded) =&amp;gt; {
            if(err){
                res.redirect('/auth/login/')
            }
            else{
                // next will help to jump on next controller
                next()
            }
        })
    }
    else{
        res.redirect('/auth/login/')
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Let's work with frontend:
&lt;/h2&gt;

&lt;p&gt;Here I'm not providing the frontend code because that's simple HTML and CSS, you can create your own designing or still if you want my code then you can take it from my GitHub. User Login and Registration in NodeJS MySQL and JWT&lt;/p&gt;

&lt;h2&gt;
  
  
  Middleware explanation:
&lt;/h2&gt;

&lt;p&gt;In the code I haven't explain, why we are using two middlewares in homeRoute.js, that's because first middleware is "validateToken", so when ever user request the route than before going to actual route the user will enter in validateToken and this will check whether the user is login or not if he is login then it will get access of 2nd middleware and if not then user will redirected to login page and user has to login, That's how we protected that route.&lt;/p&gt;

&lt;h2&gt;
  
  
  Still Having Doubt?
&lt;/h2&gt;

&lt;p&gt;If you still have any doubt you can message me on Instagram or On LinkedIn:&lt;br&gt;
Instagram:  &lt;a href="https://instagram.com/rahulnikam.uiux" rel="noopener noreferrer"&gt;@rahulnikam.uiux&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LinkedIn: &lt;a href="https://www.linkedin.com/in/rahul-nikam-5099b220a/" rel="noopener noreferrer"&gt;Rahul Nikam (Recommended)&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  More by me
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dev.to/rahulnikam/premiumoauth-20-google-using-nodejs-mysql-jwt-reactjs-4kgd"&gt;watch how to work with OAuth 2.0 Authentication using NodeJS, MySQL, JWT + ReactJS&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>beginners</category>
      <category>mysql</category>
      <category>authentication</category>
    </item>
  </channel>
</rss>
