Skip to content

An MVP of the Bono Platform

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

BonoNetwork/Bono-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bono Network

bono

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.

Project Structure

The project is divided into two main parts:

  1. Frontend (Vue.js application)
  2. Backend (Node.js/Express API)

Frontend

The frontend is a Vue.js application built with TypeScript and Vite.

Setup

  1. Install dependencies:

    npm install
  2. Compile and hot-reload for development:

    npm run dev
  3. Type-check, compile and minify for production:

    npm run build

Testing

  • Run unit tests with Vitest:

    npm run test:unit
  • Run end-to-end tests with Cypress:

    npm run test:e2e:dev

Linting

npm run lint

Key Dependencies

  • Vue.js 3
  • Pinia for state management
  • Vue Router
  • Solana Web3.js and related libraries
  • Metaplex Foundation libraries for NFT interactions

Backend

The backend is a Node.js application using Express.js, built with TypeScript.

Setup

  1. Navigate to the api directory:

    cd api
    
  2. Install dependencies:

    npm install
  3. 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).

  4. Run the development server:

    npm run dev
  5. Build for production:

    npm run build
  6. Run in production:

    npm run prod

Key Dependencies

  • Express.js
  • Mongoose for MongoDB interactions
  • Solana Web3.js and related libraries
  • Metaplex Foundation libraries
  • JWT for authentication
  • Express Validator for request validation

Features

  • 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

Solana Integration

The project integrates with the Solana blockchain for:

  • Creating campaign NFTs
  • Managing campaign tokens
  • Processing contributions
  • Handling token redemptions

Development

Recommended IDE Setup

Type Support for .vue Imports in TS

If you're using TypeScript in .vue imports, please refer to the Type Support section in the original README for configuration details.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • 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.

About

An MVP of the Bono Platform

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages