Bono Network is a decentralized platform for legal fundraising campaigns built on the Solana blockchain. It facilitates fundraising for legal cases related to scams and fraud, connecting case creators, contributors, a High Table for governance, and legal firms.
The project is divided into two main parts:
- Frontend (Vue.js application)
- Backend (Node.js/Express API)
The frontend is a Vue.js application built with TypeScript and Vite.
-
Install dependencies:
npm install
-
Compile and hot-reload for development:
npm run dev
-
Type-check, compile and minify for production:
npm run build
-
Run unit tests with Vitest:
npm run test:unit
-
Run end-to-end tests with Cypress:
npm run test:e2e:dev
npm run lint
- Vue.js 3
- Pinia for state management
- Vue Router
- Solana Web3.js and related libraries
- Metaplex Foundation libraries for NFT interactions
The backend is a Node.js application using Express.js, built with TypeScript.
-
Navigate to the
api
directory:cd api
-
Install dependencies:
npm install
-
Set up environment variables: Create
.env.development
and.env.production
files with the necessary variables (refer to the Environment Variables section in the API README). -
Run the development server:
npm run dev
-
Build for production:
npm run build
-
Run in production:
npm run prod
- Express.js
- Mongoose for MongoDB interactions
- Solana Web3.js and related libraries
- Metaplex Foundation libraries
- JWT for authentication
- Express Validator for request validation
- Case creation and approval process
- Contribution system with Solana integration
- High Table governance and case oversight
- Legal firm assignment and case progress tracking
- Fund distribution and management
The project integrates with the Solana blockchain for:
- Creating campaign NFTs
- Managing campaign tokens
- Processing contributions
- Handling token redemptions
- VSCode with the following extensions:
If you're using TypeScript in .vue
imports, please refer to the Type Support section in the original README for configuration details.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Solana Foundation
- Metaplex
- All contributors and supporters of the Bono Network project
For more detailed information about the API endpoints and backend functionality, please refer to the API README.