<?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: swapnil ahmed shishir</title>
    <description>The latest articles on DEV Community by swapnil ahmed shishir (@swapnilahmedshishir).</description>
    <link>https://dev.to/swapnilahmedshishir</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%2F1134524%2Fe30b2661-c7c7-459b-a8b0-5aee6cb557d7.png</url>
      <title>DEV Community: swapnil ahmed shishir</title>
      <link>https://dev.to/swapnilahmedshishir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swapnilahmedshishir"/>
    <language>en</language>
    <item>
      <title>My Frist portfolio</title>
      <dc:creator>swapnil ahmed shishir</dc:creator>
      <pubDate>Thu, 20 Feb 2025 17:00:38 +0000</pubDate>
      <link>https://dev.to/swapnilahmedshishir/my-frist-portfolio-4ke5</link>
      <guid>https://dev.to/swapnilahmedshishir/my-frist-portfolio-4ke5</guid>
      <description>&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%2F4tvyqlda2ro5gk5a1t2f.jpg" 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%2F4tvyqlda2ro5gk5a1t2f.jpg" alt="Image description" width="800" height="750"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I kicked off this year by creating my portfolio, which showcases my coding journey so far. It highlights my skills and projects in HTML, CSS, JavaScript, React.js, and more. As I start searching for my first developer job, I’d love to hear from fellow developers who have been in this position before.&lt;/p&gt;

&lt;p&gt;Live site: &lt;a href="https://swapnilahmedshishirwebdev.netlify.app/" rel="noopener noreferrer"&gt;https://swapnilahmedshishirwebdev.netlify.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub repository: &lt;a href="https://github.com/swapnilahmedshishir/swapnilahmedshishirwebdev" rel="noopener noreferrer"&gt;https://github.com/swapnilahmedshishir/swapnilahmedshishirwebdev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions for you reading this post:&lt;br&gt;
Is there anything important missing from my portfolio?&lt;/p&gt;

&lt;p&gt;Is it easy to navigate?&lt;/p&gt;

&lt;p&gt;What are your overall thoughts on the site?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Using both Bootstrap and Tailwind CSS in a single React project</title>
      <dc:creator>swapnil ahmed shishir</dc:creator>
      <pubDate>Sun, 01 Sep 2024 10:54:38 +0000</pubDate>
      <link>https://dev.to/swapnilahmedshishir/using-both-bootstrap-and-tailwind-css-in-a-single-react-project-2k49</link>
      <guid>https://dev.to/swapnilahmedshishir/using-both-bootstrap-and-tailwind-css-in-a-single-react-project-2k49</guid>
      <description>&lt;p&gt;Using both Bootstrap and Tailwind CSS in a single React project can lead to several potential issues and challenges. Here's a breakdown:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;CSS Conflicts&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Class Name Conflicts:&lt;/strong&gt; Bootstrap and Tailwind CSS both use utility class names that could overlap. For example, both frameworks might have a class like &lt;code&gt;container&lt;/code&gt; or &lt;code&gt;btn&lt;/code&gt;. If both frameworks are loaded, the styles applied might conflict or override each other unpredictably.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Specificity Issues:&lt;/strong&gt; Even if class names don’t directly conflict, CSS specificity could cause issues where one framework's styles unintentionally override the other’s. This could result in unexpected styling issues that are difficult to debug.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. &lt;strong&gt;Increased Bundle Size&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Larger CSS Files:&lt;/strong&gt; Including both frameworks significantly increases the size of your CSS bundle. This can lead to slower load times and potentially worse performance, especially on mobile or slower connections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unnecessary Styles:&lt;/strong&gt; You'll end up loading a lot of unused styles, which is inefficient. Tailwind is typically used with tools like PurgeCSS to remove unused styles, but with both frameworks, this becomes harder to manage.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;Development Complexity&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Inconsistent Styling Approach:&lt;/strong&gt; Bootstrap and Tailwind CSS have very different approaches to styling. Bootstrap is a component-based framework with pre-built components, while Tailwind is a utility-first CSS framework. Mixing these can lead to inconsistent styling and increased complexity in your codebase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning Curve:&lt;/strong&gt; Developers on the project will need to understand and work with both frameworks, which might increase the learning curve and development time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. &lt;strong&gt;Maintenance Challenges&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long-term Maintenance:&lt;/strong&gt; Managing two CSS frameworks in the long term can become cumbersome. It may lead to difficulties in maintaining and updating the styles, especially if you need to upgrade the versions of either framework.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;When It Might Be Justifiable:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Legacy Code:&lt;/strong&gt; If you’re gradually migrating from one framework to another, you might need to temporarily use both. In this case, try to minimize overlap and gradually phase out one framework.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Component Libraries:&lt;/strong&gt; If you’re using a third-party component library that depends on Bootstrap, you might need to use Bootstrap alongside Tailwind. In this case, try to isolate the Bootstrap styles as much as possible.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Recommendations:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Choose One Framework:&lt;/strong&gt; If possible, stick to one framework to avoid the above issues. Tailwind CSS is great for utility-first, highly customizable designs, while Bootstrap is good for quickly building standardized components.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped Styles:&lt;/strong&gt; If you must use both, try to scope the styles of one framework to a specific section of your app to minimize conflicts. For example, you could load Bootstrap only for certain components or use CSS modules to isolate styles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By carefully considering these factors, you can avoid most of the pitfalls associated with using both Bootstrap and Tailwind CSS in the same project.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Node Server Setup</title>
      <dc:creator>swapnil ahmed shishir</dc:creator>
      <pubDate>Tue, 20 Feb 2024 17:41:29 +0000</pubDate>
      <link>https://dev.to/swapnilahmedshishir/node-server-setup-2724</link>
      <guid>https://dev.to/swapnilahmedshishir/node-server-setup-2724</guid>
      <description>&lt;p&gt;1 . give new folder name ServerSide or backendServer&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;write this text  $ npm init -y &lt;/li&gt;
&lt;li&gt;create file Server.js&lt;/li&gt;
&lt;li&gt;install this npm service  $ npm install express mysql cors cookie-parser bcrypt jsonwebtoken multer path nodemon 
5.create 5 impotent folder in MVC Public/images , Routers , Models , controllers , Utils , &lt;/li&gt;
&lt;li&gt;package.json add some text 
"main": "Server.js",
"type": "module",
"scripts": {
   "start": "nodemon Server.js"
}&lt;/li&gt;
&lt;li&gt;Utils/ db.js file create and connect mysqul or other database &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;import mysql from 'mysql'&lt;/p&gt;

&lt;p&gt;const db = mysql.createConnection({&lt;br&gt;
    host: 'your_mysql_host',&lt;br&gt;
  user: 'your_mysql_user',&lt;br&gt;
  password: 'your_mysql_password',&lt;br&gt;
  database: 'your_mysql_database'&lt;br&gt;
})&lt;/p&gt;

&lt;p&gt;db.connect(function(err) {&lt;br&gt;
    iif (err) {&lt;br&gt;
    console.error('Error connecting to MySQL: ' + err.stack);&lt;br&gt;
    return;&lt;br&gt;
  }&lt;br&gt;
  console.log('Connected to MySQL as id ' + db.threadId);&lt;br&gt;
})&lt;/p&gt;

&lt;p&gt;export default db;&lt;/p&gt;

&lt;p&gt;8.server.js work &lt;br&gt;
    import express from "express";&lt;br&gt;
    import cors from 'cors'&lt;/p&gt;

&lt;p&gt;const app = express() &lt;br&gt;
const port  = 5175 ;&lt;br&gt;
const localhostPort = 7175 ;&lt;br&gt;
app.use(cors({&lt;br&gt;
    origin: [&lt;code&gt;http://localhost:${localhostPort }&lt;/code&gt;],&lt;br&gt;
    methods: ['GET', 'POST', 'PUT', "DELETE"],&lt;br&gt;
    credentials: true&lt;br&gt;
}))&lt;br&gt;
app.use(express.json())&lt;/p&gt;

&lt;p&gt;app.listen(port  , () =&amp;gt; {&lt;br&gt;
    console.log("Server is running")&lt;br&gt;
})&lt;br&gt;
app.use(cors(db));&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Routers  file all Route here contoll.&lt;/li&gt;
&lt;li&gt;controllers  fill ey all logic controll here .&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
