rvanasa / vite-react-motoko

Starter project for Vite + React + TypeScript + Motoko
https://gitpod.io/#https://github.com/rvanasa/vite-react-motoko
46 stars 28 forks source link
backend browser dapp dfinity dfx frontend full-stack hot-reload icp internet-computer javascript live-reload motoko nft react smart-contract starter typescript vite

Vite + React + Motoko

Get started directly in your browser:

Open in Gitpod

This template gives you everything you need to build a full-stack Web3 application on the Internet Computer.

For an example of a real-world dapp built using this starter project, check out the source code for DFINITY's Developer Experience Feedback Board.

📦 Create a New Project

Make sure that Node.js >= 16 and dfx >= 0.14 are installed on your system.

Run the following commands in a new, empty project directory:

npx degit rvanasa/vite-react-motoko # Download this starter project
dfx start --clean --background # Run dfx in the background
npm run setup # Install packages, deploy canisters, and generate type bindings

npm start # Start the development server

When ready, run dfx deploy --network ic to deploy your application to the Internet Computer.

🛠️ Technology Stack

📚 Documentation

💡 Tips and Tricks