create-robot-app
v1.0.14
Published
**[Try Viam (borrow a rover)](https://app.viam.com/try)**: Remotely control a Viam Rover in their NYC robotics lab for 10 minutes. Drive it around, explore its configuration, or write code to control it—all from wherever you are.
Downloads
78
Readme
Try Viam (borrow a rover): Remotely control a Viam Rover in their NYC robotics lab for 10 minutes. Drive it around, explore its configuration, or write code to control it—all from wherever you are.
Follow along with step-by-step instructions: Drive a rover using TypeScript
Get Started
- From the command line of your terminal window, create a new robot app.
$ npm create robot-app
- At the command-line prompt, input your project name (or leave as default) and hit Enter.
- Navigate in to the new project directory, where
my-viam-project
is the name of your new project.$ cd my-viam-project
- Update the file
.env
with your own machine credentials from the CONNECT page of the Viam app. - Start the server. Your web app should be running at
http://localhost:5173/
. When the connection to the rover is established, the Click me button will become enabled.$ npm start