---
# System prepended metadata

title: Hello World DApp

---

# Hello World DApp

Follow [the tutorial on creating a smart contract](https://github.com/AbhyasKanaujia/hello-smart-contract-alchemy-tutorial) in my GitHub to set up a backend.

## Initial Setup

1. Add a _HelloWorld.sol_ in _contracts_.
2. Change the output directory for contracts
   - Add the line: `contracts_build_directory: "./client/src/contracts",` in _truffle_config.js_
3. Open the console $ `truffle console --network goerli` (or wherever the contract is to be deployed)
4. truffle(goerli)> `migrate --reset`
5. Open a new terminal
6. $ `npx create-react-app client`
7. `cd client`
8.
