AbdulElahGwaith/vscode-docs-archive
0
1---2Order: 23Area: staticsite4TOCTitle: Create the application5PageTitle: Create the application6MetaDescription: Website deployment to Azure Storage with Visual Studio Code7DateApproved: 6/27/20188---9# Create your Node.js application10 11In this section, you will create a simple static website that can be deployed to the cloud. This tutorial uses [create-react-app](https://github.com/facebook/create-react-app), a React utility CLI, to quickly scaffold out a simple React app from the terminal. However, if you want to use Angular, Vue, any other framework, or just a folder with a few HTML files, those will all work too.12 13> **Tip:** If you already have your own application ready to deploy, you can skip ahead to [Deploy the Website](/tutorials/static-website/choose-deployment.md).14 15## Install create-react-app tool16 17[React](https://reactjs.org/) is a popular framework for building web applications, so we will use it as an example. You can scaffold (create) a new React application using the [create-react-app](https://github.com/facebook/create-react-app) tool. The `create-react-app` tool is shipped as an npm module and can be installed by using `npm`.18 19```bash20npm install -g create-react-app21```22 23The `-g` switch installs the `create-react-app` globally on your machine so you can run it from anywhere.24 25## Create a new application26 27Next, scaffold a new React app called `my-react-app` by running:28 29```bash30create-react-app my-react-app31```32 33And build the application by switching to the new folder and running `npm run build`.34 35```bash36cd my-react-app37npm run build38```39 40You should now have a `build` folder in your project folder. This contains the `.html`, `.css`, and `.js` files we will be deploying to Azure Storage.41 42## Run the application43 44Finally, let's ensure that the application runs. From the terminal, start the application using the `npm start` command.45 46```bash47npm start48```49 50Now, open your browser and navigate to [http://localhost:3000](http://localhost:3000), where you should see something like this:51 5253 54You are now ready to deploy your app!55 56----57 58<a class="tutorial-next-btn" href="/tutorials/static-website/create-storage">I created the React application</a> <a class="tutorial-feedback-btn" onclick="reportIssue('node-deployment-staticwebsite', 'create-app')" href="javascript:void(0)">I ran into an issue</a>59 