Set up
There are several ways to start a project.
Work locally
Section titled “Work locally”You will need node version 18 or above, and a suitable editor like vscode.
To create an empty project use the create-wallace-app script, which you can run without manual installation using the npx command which should come with node:
npx create-wallace-appYou will be asked to choose between TypeScript or JavaScript. If you select TypeScript you can still use JavaScript files, so that is the recommended option.
Alternatively see installation instructions for adding to an existing project.
Work online
Section titled “Work online”StackBlitz lets you run node projects in the browser without installing anything on your machine. Wallace has starter projects for TypeScript and JavaScript.
- No installation required.
- Can share with others.
- Can transition to local development by downloading the project.
- Stackblitz sometimes fails to load for its own reasons.
- Stackblitz doesn’t render markdown tool tips that well.
Clone an example
Section titled “Clone an example”There are also several examples which have a StackBlitz link in their README so you can play around online, then download a fully working project.