DEV Community

Mark Landeryou
Mark Landeryou

Posted on

How is create-react-app created

I am looking to create a template for building a frontend system that you could type for example npx create-frontend-site then you are asked questions than then based on the answers provided it will configure and download the required packages etc. I am wanting to know how to do this. Thank you for any assistance provided

Latest comments (2)

Collapse
 
johnodhiambo profile image
JohnOdhiambo

Check my post for various ways you can achieve that.

Collapse
 
mohasaket profile image
Moha Saket

step 1:first install NodeJS if you didn't install yet
step2 : to create a project, run:
npx create-react-app my-app
cd my-app
npm start
here in this page is good example
reactjs.org/docs/create-a-new-reac...