DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for REACT - Create a React basic App from console
BigBitDev
BigBitDev

Posted on • Updated on

REACT - Create a React basic App from console

Hi React-lovers! today I want to show you how to create a react app from the CLI!. It sounds scary, isn't it? but there's no need to be afraid, it doesn't bite your bum! πŸ™ˆ So let's go!!

First Steps

First of all we need create a folder where save our app, in this case weΒ΄ll do it on our Desktop, (you can do it wherever you want), after created it, You are going to copy the path of the folder, like this:

  • Open the folder
  • In the adress bar -> right click and copy the adress

After that u will open the CLI (the Terminal) and type:

cd ( and paste the path that you copy previously)

like this:

Terminal comands path

After this you will press enter and type this comands :

npx create-react-app (Name of you app)

Enter fullscreen mode Exit fullscreen mode

You will see a lot of stuff running free on your screen don't be afraid πŸ™Š it is only little workers making you app possible!

image console doing stuff

After this, all you have to do is type on terminal:

cd (The name of you app)
npm start
Enter fullscreen mode Exit fullscreen mode

And you get it! u first app is runnig!. The ball is in your court now, everything is possible ! ....uff..... i believe that we call it a day! 🀩

in the next posts we will see more things and even mini-projects yes or no? let me know! ❀️‍πŸ”₯

Top comments (0)

Regex for lazy developers

regex for lazy devs

You know who you are. Sorry for the callout πŸ˜†