Web app for users to create, buy, and sell their assets, and art (photos, videos, gifs, etc.)
in the form of NFT on the Ethereum blockchain.
The application is built using the following technologies:
- Front-end: Next.js, Tailwind CSS
- Back-end: Node.js, GraphQL
- Database: PostgreSQL
- Blockchain: Ethereum, Hardhat - development blockchain tool
- Smart Contracts: Solidity
1. Clone the repository: `git clone [repository-url]`
2. Navigate to the project directory: `cd nft-marketplace`
3. Run Backend:
3.1. Navigate to the backend directory: `cd nft-backend`
3.2. Run docker: `docker-compose up -d`
3.3. Install dependencies: `npm i`
3.4. Start the development server: `npm start`
4. Run blockchain dev environment
4.1. Navigate to the fronted directory: `cd nft-frontend`
4.2. Install dependencies: `npm i`
4.3. Start the hardhat development blockchain tool: `npx hardhat node`
5. Run Frontend
5.1. Navigate to the fronted directory: `cd nft-frontend`
5.2. Deploy contract: `npx hardhat run scripts/deploy.js --network localhost`
5.3. Start the development environment for the project: `npm run dev`
5.4. Open your browser and visit: `http://localhost:3000`