Awesome
Nearjs React app
This project was bootstrapped with Create React App.
Tutorial on Medium
Overview
This project serves as a foundation for building decentralized applications (DApps) on the NEAR Protocol using React and near-api-js. It includes a simple initialization setup and a basic structure for integrating NEAR functionality into a React application.
Getting Started
-
Installation: Clone this repository and run
yarn
to install the necessary dependencies. -
NEAR Initialization: The NEAR initialization logic is encapsulated in the
init
module. Customize this module based on your specific requirements, ensuring proper configuration of the NEAR connection and wallet setup. -
App Component: The main application logic is located in the
App
component. Customize this component to implement your DApp's functionality. -
Rendering: The project uses React and
createRoot
for rendering. Adjust the rendering logic inindex.tsx
based on your project's needs. -
Run: Start the application by running
yarn start
.
Key Features
- NEAR Protocol Integration
- React and near-api-js Setup
- Basic DApp Structure
Preview
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.