Skip to content

runtimerevolution/web3-roulette

Repository files navigation

Web 3.0 Roulette

Setup

This project uses yarn for dependency management, nvm for version management and node 18.16.0, so make sure you have those running in your terminal. If that is not the case, run the following commands to setup your environment (for information on how to install nvm click here):

nvm install 18.16.0     // to install 18.16.0
nvm use 18.16.0         // to use 18.16.0
npm install -g yarn     // to install yarn globally

After setting the node version, some setup is needed before running the app. For specific documentation for each app read the following documents:

Finally, start the react and node apps using the following commands:

  • npm run start-react-app to run the react app
  • npm run start-node-app to run the node app

This workspace has been generated by Nx so you can run different commands to interact with the apps in the project. You can install Nx Console in VSCode to easily access Nx commands directly in your code editor.

  • npx nx graph to see a diagram of the dependencies of the projects
  • npx nx serve react-app to run the react app
  • npx nx serve node-app to run the node app