Install create-react-app by running npm install -g create-react-app in your terminal.
Create a new React project by running create-react-app my-app --template typescript, where "my-app" is the name of your project.
Change into the project directory by running cd my-app.
Start the development server by running npm start. This will open the project in your browser at http://localhost:3000/.
Make any necessary changes to the code in the project, such as adding components or modifying styles.
When you're ready to push your project to GitHub clone this github repository
In your terminal, add the remote repository to your local project by running git remote add origin [repository URL], where "[repository URL]" is the URL for the repository you just created.
Add all of your changes to the staging area by running git add ..
Commit your changes to the local repository by running git commit -m "Initial commit".
Push your changes to the remote repository by running git push origin master.
follow these steps:
Install create-react-app by running
npm install -g create-react-app
in your terminal.Create a new React project by running
create-react-app my-app --template typescript
, where "my-app" is the name of your project.Change into the project directory by running cd my-app.
Start the development server by running npm start. This will open the project in your browser at http://localhost:3000/.
Make any necessary changes to the code in the project, such as adding components or modifying styles.
When you're ready to push your project to GitHub clone this github repository
In your terminal, add the remote repository to your local project by running git remote add origin [repository URL], where "[repository URL]" is the URL for the repository you just created.
Add all of your changes to the staging area by running git add ..
Commit your changes to the local repository by running git commit -m "Initial commit".
Push your changes to the remote repository by running git push origin master.