This crowdfunding dApp allows artists to fund their projects by raising money directly from their fans and supporters. The platform is built with a robust backend using Foundry and Hardhat, and a modern frontend with Next.js.
- Node.js and npm
- Hardhat
- Foundry
- An Ethereum account to deploy contracts on a public blockchain (or a local test environment)
-
Clone the repository:
git clone [email protected]:goumix/SongCrew.git cd SongCrew
-
Install backend dependencies:
cd backend npm install
-
Install frontend dependencies:
cd frontend npm install
-
Start the backend to test and interact with the smart contracts:
npx hardhat node
-
Start the frontend in development mode:
npm run dev
-
Open your browser and go to http://localhost:3000 to see the application in action.
To run the smart contract tests with Hardhat, use the following command in the backend folder:
npx hardhat test
To run the smart contract tests with Foundry, use the following command in the backend folder:
forge test