<?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>Forem: Gigin George</title>
    <description>The latest articles on Forem by Gigin George (@gigincg).</description>
    <link>https://forem.com/gigincg</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%2F358969%2Fb871b1ec-db2b-454a-8a0c-7ff5d80d4ce4.jpeg</url>
      <title>Forem: Gigin George</title>
      <link>https://forem.com/gigincg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/gigincg"/>
    <language>en</language>
    <item>
      <title>Visualizing COVID Cases Worldwide with Map-first UI @ Coronasafe Network</title>
      <dc:creator>Gigin George</dc:creator>
      <pubDate>Sun, 14 Jan 2024 08:07:49 +0000</pubDate>
      <link>https://forem.com/gigincg/visualizing-covid-cases-worldwide-with-map-first-ui-coronasafe-network-31ae</link>
      <guid>https://forem.com/gigincg/visualizing-covid-cases-worldwide-with-map-first-ui-coronasafe-network-31ae</guid>
      <description>&lt;p&gt;The beauty of map-first UIs is their ability to transcend the barriers of complex data tables and dense textual information. Instead, they offer a spatially organized visual summary. With a single glance, a person can understand patterns, trends, and critical points. In situations like the global pandemic, where every second count, this instant comprehension can be life-saving.&lt;/p&gt;

&lt;p&gt;During the onset of the coronavirus pandemic, there was a deluge of data every day. As we were trying to build different tools to help battle the pandemic, even though there were International Representations of The Number of COVID cases, it was a pain to keep track of how many Raw numbers were intimidating, and often people struggled to contextualize the scale and spread of the virus. Recognizing this gap, our team at Coronasafe decided to venture into the realm of map-first UIs.&lt;/p&gt;

&lt;p&gt;Our vision was clear – we wanted a live, interactive map that plotted COVID cases worldwide, offering users a real-time snapshot of the pandemic's status. The project, available on &lt;a href="https://github.com/coronasafe/india-maps"&gt;GitHub&lt;/a&gt;, aimed to make this crucial data more accessible and comprehensible for the masses.&lt;/p&gt;

&lt;p&gt;React, with its component-based architecture, was our natural choice for building the UI. When combined with react-leaflet – a fantastic wrapper around the leaflet js library – the development process became smooth and efficient. And as highlighted earlier, the integration of React's virtual DOM made our map UI not just interactive but also incredibly fast, often outpacing native leaflet implementations.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Experience the Impact&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Our application is live and hosted on &lt;a href="https://map.coronasafe.network/"&gt;Coronasafe's Map Network&lt;/a&gt;. As you navigate the map, you'll see how seamlessly the cases are plotted, the varying intensities indicating the severity in different regions. It's not just a map; it's a story of humanity's battle against a common foe.&lt;/p&gt;

&lt;p&gt;The feedback from users has been overwhelmingly positive. Many have emphasized how the visual representation has made it easier for them to understand the pandemic's scope and progression. Schools and educational institutions have used it as a teaching aid, and even policymakers have referenced it to make informed decisions.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Dive into React: Map-first App Walkthrough&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Before concluding, I'd like to highlight a useful resource for those interested in React-based map applications. On my blog, there's a concise walkthrough for creating a Map-first React App. This guide is perfect for anyone, from beginners to advanced developers, looking to integrate maps with React. It covers the essentials, from setup to advanced features, providing a practical approach to building interactive map interfaces.&lt;/p&gt;

&lt;p&gt;Check out this &lt;a href="https://dev.to/gigincg/build-your-map-with-react-3jda-temp-slug-6527284"&gt;guide&lt;/a&gt; to enhance your skills in crafting map-centric React applications.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Final Thoughts&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;In a world inundated with data, the challenge often lies in interpretation. Tools like map-first UIs bridge this gap, ensuring that information is not just shared but also understood. Our project at Coronasafe is a humble contribution to this endeavor, and we urge developers and data enthusiasts worldwide to embrace this powerful medium. After all, when data becomes knowledge, it equips us to make better decisions, foster understanding, and, in some cases, save lives.&lt;/p&gt;

&lt;p&gt;Here's a quick &lt;a href="https://www.geospatialworld.net/blogs/kerala-uses-open-source-public-utility-to-fight-covid-19/"&gt;article&lt;/a&gt; where the Coronasafe India Maps was covered, kind of a proud moment for me really :D&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building Map-first Apps with React</title>
      <dc:creator>Gigin George</dc:creator>
      <pubDate>Sun, 07 Jan 2024 15:41:38 +0000</pubDate>
      <link>https://forem.com/gigincg/building-map-first-apps-with-react-i11</link>
      <guid>https://forem.com/gigincg/building-map-first-apps-with-react-i11</guid>
      <description>&lt;p&gt;Map-first UI is a great way to present data when you want to visualize data that has great geographical relevance. And if you're a React dev, The &lt;code&gt;react-leaflet&lt;/code&gt; package helps you do just that!&lt;/p&gt;

&lt;p&gt;I started doing maps when the coronavirus pandemic was on the rise and wanted to plot the cases worldwide on a map. Checkout &lt;a href="https://map.coronasafe.network"&gt;Coronasafe India Map&lt;/a&gt;. As a React developer, my searches helped me find react-leaflet, which is a wrapper around the leaflet js library. Bonus: since react works with a virtual DOM, react-leaflet is in a lot of cases considerably faster than native leaflet!&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;A Look Back and A Step Forward&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;It's been three years since our endeavor into map-first UIs with Coronasafe. As I reflect on the journey, the passion, the late-night coding sessions, and the satisfaction of seeing our map being utilized by countless users worldwide, I can't help but feel an immense sense of accomplishment and gratitude. Throughout this period, I've received numerous queries on how we achieved this, and I've been longing to pen down this article on quickly bootstrapping Map First applications in React. So, without further ado, here's a quick guide for all the budding developers out there.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Bootstrapping a Map-first React App&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;1. Setting Up Your React App&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start by initializing a new React application using Create React App:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npx create-react-app map-first-react-app&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Navigate to your new app's directory:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd map-first-react-app&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Installing Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Install react-leaflet and leaflet:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install react-leaflet leaflet&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Integrating the Map&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In your &lt;code&gt;App.js&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Import the necessary components from react-leaflet and styles from leaflet:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet';
import 'leaflet/dist/leaflet.css';
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Embed the &lt;code&gt;MapContainer&lt;/code&gt; component within your app's render method. You can set the desired center and zoom level for the map:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;MapContainer center={[51.505, -0.09]} zoom={13}&amp;gt;
  &amp;lt;TileLayer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /&amp;gt;
  &amp;lt;Marker position={[51.505, -0.09]}&amp;gt;
    &amp;lt;Popup&amp;gt;
      A sample marker!
    &amp;lt;/Popup&amp;gt;
  &amp;lt;/Marker&amp;gt;
&amp;lt;/MapContainer&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4. Overlaying Additional UI Elements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To add UI elements over your map:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Wrap your &lt;code&gt;MapContainer&lt;/code&gt; with a parent &lt;code&gt;div&lt;/code&gt; element. This acts as your canvas.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Position your UI components absolutely within this &lt;code&gt;div&lt;/code&gt;. Utilize CSS for layout and positioning.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;    &lt;span class="nc"&gt;.map-canvas&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;relative&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100vh&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nc"&gt;.your-ui-element&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;position&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;absolute&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="nl"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="nl"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;10px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="nl"&gt;z-index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;Ensure&lt;/span&gt; &lt;span class="err"&gt;it's&lt;/span&gt; &lt;span class="err"&gt;above&lt;/span&gt; &lt;span class="err"&gt;the&lt;/span&gt; &lt;span class="err"&gt;map&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;  Make sure to properly handle z-index to ensure overlays don't interfere with map interactivity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5. Serving the App&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Finally, run your app:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm start&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Your React application should now display a map with overlaying UI elements. From here, the possibilities are endless. You can add markers, pop-ups, and layers, or even integrate real-time data streams.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;A map-first application is more than just a visual treat; it's a powerful tool for conveying data in an intuitive, accessible manner. Whether you're aiming to depict global events, track assets, or share any geographically-relevant information, a map-first approach combined with React's agility can be transformative. I hope this guide empowers you to embark on your map-based projects and make an impact, just as we did at Coronasafe. Happy coding!&lt;/p&gt;

</description>
      <category>react</category>
      <category>ux</category>
    </item>
    <item>
      <title>Deploy JAR file to Elastic Beanstalk using EB CLI</title>
      <dc:creator>Gigin George</dc:creator>
      <pubDate>Sun, 31 May 2020 19:14:27 +0000</pubDate>
      <link>https://forem.com/gigincg/deploy-jar-file-to-elastic-beanstalk-using-eb-cli-4f46</link>
      <guid>https://forem.com/gigincg/deploy-jar-file-to-elastic-beanstalk-using-eb-cli-4f46</guid>
      <description>&lt;p&gt;Like me, you also probably deploy your applications by uploading it's JAR to Elastic Beanstalk. Since the AWS Web UI allows you to directly upload a JAR file and deploy it, like me, you'd probably find a hard time finding a CLI alternative to directly deploy your JAR. &lt;/p&gt;

&lt;p&gt;There are 2 ways you can deploy your JAR into EB via CLI.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using the &lt;a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html"&gt;AWS EB CLI&lt;/a&gt;: The EB CLI is preferrable if you intend to run the command yourself. Most commands are short and sweet.&lt;/li&gt;
&lt;li&gt;Using the &lt;a href="https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html"&gt;AWS CLI 2&lt;/a&gt;: The AWS CLI is much more powerful and be used to carry out almost all tasks that you'd normally do through the web console, but commands are longer and not quite friendly if you intend to type in these commands every time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This tutorial is to explain the first method which is the more straightforward option.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deploy using EB CLI
&lt;/h2&gt;

&lt;p&gt;To deploying your JAR using the EB CLI is quite straightforward, you need to install EB CLI&lt;/p&gt;

&lt;h4&gt;
  
  
  Pre-requisites
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Install EB CLI&lt;/li&gt;
&lt;li&gt;Generate an IAM User with EB Full Access.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Configure Credentials for EB CLI
&lt;/h4&gt;

&lt;p&gt;You can &lt;code&gt;cd&lt;/code&gt; into your project's route directory and run &lt;code&gt;eb init&lt;/code&gt; which would run you through inputting the credentials, the default region, selecting your environment etc.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ eb init

Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-south-1 : Asia Pacific (Mumbai)
7) ap-southeast-1 : Asia Pacific (Singapore)
8) ap-southeast-2 : Asia Pacific (Sydney)
9) ap-northeast-1 : Asia Pacific (Tokyo)
10) ap-northeast-2 : Asia Pacific (Seoul)
11) sa-east-1 : South America (Sao Paulo)
12) cn-north-1 : China (Beijing)
13) cn-northwest-1 : China (Ningxia)
14) us-east-2 : US East (Ohio)
15) ca-central-1 : Canada (Central)
16) eu-west-2 : EU (London)
17) eu-west-3 : EU (Paris)
18) eu-north-1 : EU (Stockholm)
19) eu-south-1 : EU (Milano)
20) ap-east-1 : Asia Pacific (Hong Kong)
21) me-south-1 : Middle East (Bahrain)
22) af-south-1 : Africa (Cape Town)
(default is 3): [enter your region]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After selecting your region, it prompts for your IAM Credentials&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You have not yet set up your credentials or your credentials are incorrect.
You must provide your credentials.
(aws-access-id): AKIAJOUAASEXAMPLE
(aws-secret-key): 5ZRIrtTM4ciIAvd4EXAMPLEDtm+PiPSzpoK
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After this it will ask you to select your application&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Select an application to use
1) your-app-name
2) [ Create new Application ]
(default is 1): 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After this they'd ask if you'd like to use CodeCommit(the AWS VCS service). Since we're deploying JARs, it's not quite relevant for use, so you could select no.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Do you wish to continue with CodeCommit? (y/N) (default is n): n

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you need to run the same config at a different location(CI/CD Services), you could just add the ENV variables &lt;code&gt;AWS_ACCESS_KEY_ID&lt;/code&gt; and &lt;code&gt;AWS_SECRET_ACCESS_KEY&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Deploy Config
&lt;/h4&gt;

&lt;p&gt;In order to declare the artifact(JAR) that you need to deploy,you can append  the newly generated &lt;code&gt;/.elasticbeanstalk/config.yml&lt;/code&gt;, with the following&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;deploy:
  artifact: target/&amp;lt;your-jar-name&amp;gt;.jar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Deploy to EB
&lt;/h4&gt;

&lt;p&gt;Now that you're done configuration, you could directly use the command &lt;code&gt;eb deploy -v&lt;/code&gt; to deploy your project JAR.(-v for verbose)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ eb deploy -v
INFO: Deploying code to &amp;lt;your-env&amp;gt; in region us-west-2 
INFO: Uploading archive to s3 location: &amp;lt;your-app-name&amp;gt;/&amp;lt;your-jar-name&amp;gt;.jar 
Uploading: [##################################################] 100% Done... 
INFO: Creating AppVersion &amp;lt;app-version&amp;gt;
2020-05-31 17:41:40    INFO    Environment update is starting.      
2020-05-31 17:41:45    INFO    Deploying new version to instance(s).
2020-05-31 17:41:54    INFO    New application version was deployed to running EC2 instances.
2020-05-31 17:41:54    INFO    Environment update completed successfully.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Kudos! you've successfully deployed your application to EB. Now in order to deploy consecutive versions, you could simply run &lt;code&gt;eb deploy -v&lt;/code&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>aws</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>React + Tailwind Starter</title>
      <dc:creator>Gigin George</dc:creator>
      <pubDate>Tue, 26 May 2020 22:10:47 +0000</pubDate>
      <link>https://forem.com/gigincg/react-tailwind-starter-3k7h</link>
      <guid>https://forem.com/gigincg/react-tailwind-starter-3k7h</guid>
      <description>&lt;p&gt;&lt;code&gt;create-react-tailwind-app&lt;/code&gt; is an npx generator that creates a starter project with tailwind configured without ejecting from &lt;code&gt;create-react-app&lt;/code&gt;. This means you don't go through configuration hell that usually rains open you when you eject as a beginner.&lt;/p&gt;

&lt;p&gt;Similar to using &lt;code&gt;create-react-app&lt;/code&gt;, Open a terminal and run:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npx create-react-tailwind-app&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will prompt you with the name of the new project you'd like to create&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;you@computer: ~/projects $ npx create-react-tailwind-app
Project name:my-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This will generate your new project &lt;code&gt;my-app&lt;/code&gt; in a directory. Next, you can cd into the directory, install the dependencies and run the project.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd my-app
npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This will install all the dependencies. To run the project, run:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//To build tailwind and run react-scripts
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  expected output:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iMjHaXNX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/mpoec6vxeex09ty8os9u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iMjHaXNX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/mpoec6vxeex09ty8os9u.png" alt="Output" width="800" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You may want to change the package name in package.json if you plan to publish the project&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Note: The index.css file is autogenerated and will be over-written on every run. If you want to add CSS changes, which I would recommend you not to, you should do them in the tailwind.css file.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@tailwind base;
// Base CSS here

@tailwind components;
// Component CSS here

@tailwind utilities;
// Util level CSS here
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;You can refer to (Tailwind CSS)[&lt;a href="https://tailwindcss.com"&gt;https://tailwindcss.com&lt;/a&gt;] for further reference to using tailwind&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9-wwsHG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/gigincg"&gt;
        gigincg
      &lt;/a&gt; / &lt;a href="https://github.com/gigincg/create-react-tailwind-app"&gt;
        create-react-tailwind-app
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Create React Tailwind App&lt;/h1&gt;
&lt;p&gt;React Tailwind boilerplate generator, Inspired from &lt;a href="https://github.com/bodhish/create-reason-react-tailwind"&gt;Create Reason React Tailwind Generator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Boilerplate for Tailwind CSS Configured without ejecting from &lt;a href="https://github.com/facebook/create-react-app"&gt;Create React App&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
Quick Start&lt;/h2&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npx create-react-tailwind-app&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
Project Name - Add the project name&lt;/h4&gt;
&lt;p&gt;Enter the name of the project you'd like to generate&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;my-app&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;| &lt;code&gt;cra&lt;/code&gt; will create a new folder with the template project.&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c1"&gt;cd&lt;/span&gt; my-app&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Follow the instructions in &lt;code&gt;README.md&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;
CRA&lt;/h3&gt;
&lt;p&gt;Add create react app globally&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm i -g create-react-tailwind-app
cra&lt;/pre&gt;

&lt;/div&gt;
&lt;/div&gt;

  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/gigincg/create-react-tailwind-app"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



</description>
      <category>react</category>
      <category>tailwindcss</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
