GLB-NFT Minting is a project aimed at creating and minting NFTs (Non-Fungible Tokens) representing 3D models stored as GLB files on IPFS. The project consists of a Vite + React client for the front end and a Node.js + Truffle Ganache server for the backend.
-
Clone the repository:
git clone <repository_url>
-
Navigate to the client directory:
cd client
-
Install dependencies:
npm install
-
Create a
.env.local
file in theclient
directory and refer toexample.env.local
for the required environment variables. -
Start the development server:
npm run dev
-
Access the application at
http://localhost:3000
in your browser.
-
Navigate to the server directory:
cd server
-
Install dependencies:
npm install
-
Create a
.env
file in theserver
directory and refer toexample.env
for the required environment variables. -
Start Ganache:
npx ganache-cli
-
Compile and migrate the smart contracts:
truffle compile truffle migrate
-
Start the server:
npm start
- Client (React): Refer to
example.env.local
for environment variables related to the client-side application. - Server (Node.js): Refer to
example.env
for environment variables related to the server-side application.
- Frontend: Vite, React, React Three Fiber
- Backend: Node.js, Truffle, Solidity
- Blockchain: Ganache
- IPFS: Pinata API
- Wallet: MetaMask
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.