I am going to use a simple static HTTP server called http-server which is more than sufficient for our needs.

http-server is a simple, zero-configuration command-line static HTTP server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development and learning.

Did you know that you can run the package without installing it first, using the npx command?

Run the following command from the wireframe directory.

➜ npx http-server

Starting up http-server, serving ./public

http-server version: 14.1.0

Available on:
  http://127.0.0.1:8080
  http://10.0.0.182:8080
Hit CTRL-C to stop the server

Without any arguments, the above command serves the index.html file in the public directory when you visit http://127.0.0.1:8080 or localhost:8080. This is why I'd asked you to create a public/index.html file for your project.

You can also add the above command as a script in the package.json file. This will allow you to launch the website using the npm run launch command.

"scripts": {
  "launch": "npx http-server"
}

Now that your server is up and running, visit the http://127.0.0.1:8080 or http://localhost:8080 URL in the browser.

http_browser.png

Now that our website is up and running, we're ready to install Turbo.