This is an experimental tutorial for the Stellar Soroban dApp. We're experimenting with docuementation for the Soroban payments dApp, and how enhanced comments etc could improve the learner experience.
This project is a decentralized application (DApp) for making payments. It's built with React and TypeScript, and uses Yarn as a package manager.
Here's a brief overview of the main files and directories in this project:
-
Pretty much all the Stellar-related code is in the src/ directory alongisde the components for interacting with Freighter, the wallet etc
-
.eslintrc.js: This file contains the configuration for ESLint, a tool for identifying and reporting on patterns in JavaScript. -
babel.config.js: This file is used to configure Babel, a JavaScript compiler. -
config/: This directory contains configuration files for webpack, a static module bundler for modern JavaScript applications. -
Dockerfile: This file is used to create a Docker container for the project. -
Makefile: This file contains a set of tasks for themakecommand. -
package.json: This file contains metadata about the project and its dependencies. -
public/: This directory contains static files that will be served by the application. -
src/: This directory contains the source code of the application. -
tsconfig.json: This file contains the configuration for the TypeScript compiler.
- Clone the repository:
git clone https://github.com/your-repo/payments-dapp-tutorial.git
cd payments-dapp-tutorial
2. Install the dependencies:
`yarn`
3. Start the development server:
`yarn start`
4. Open your browser and navigate to http://localhost:3000.