DEV Community

Trupti
Trupti

Posted on

Using AI tools to build a React.js application - Part 1

In this post I am going to leverage some AI tools available to help build an application. Let's start by asking ChatGPT to help us creating a twitter-clone app and use tailwind css. I gave the following input and this is the output I received:

step0

step1

After following the steps given by ChatGPT and now start the server.

npm start
Enter fullscreen mode Exit fullscreen mode

and here is the screenshot for the app that starts in the browser:

step2

So lets start by adding some steps that we are going todo later on:

      <h1>Things to do</h1>
      <ul>
        <li>Create a mock up of the UI you want</li>
        <li>Make react components out of them</li>
        <li>Use AI tools to build</li>
      </ul>
Enter fullscreen mode Exit fullscreen mode

and here is how it looks after adding the things that we are going to do.

step3

next step, is I would like to ask Github Inline Copilot to add in some classes to the header and list items and accept the changes provided by Copilot.

step4

The changes to the pages looks like this
step5

This is not exactly the perfect looking application but still not bad if you can get this started.

Top comments (0)