Welcome to the backend of our NFT marketplace! This repository contains the server-side code and functionalities that power our NFT platform.
- User authentication and authorization.
- NFT contract management.
- Minting and trading of NFTs.
- Transaction and event tracking.
- Integration with blockchain networks (Binance Smart Chain).
- Scalable and modular architecture.
Before you begin, ensure you have met the following requirements:
-
Node.js: This project is built with Node.js. Make sure you've Node.js installed on your machine. You can download it from nodejs.org.
-
npm (Node Package Manager): npm is the default package manager for Node.js. It is usually included with the Node.js installation. You can check if you have npm installed by running:
npm -v
-
MongoDB: Install MongoDB following the instructions for your operating system in the MongoDB Installation Guide. Ensure the MongoDB server is running before starting the NFT marketplace backend.
-
Ethereum-compatible wallet (for blockchain integration)
Example for running MongoDB on Unix-like systems:
sudo service mongod start
Example for running MongoDB on Windows:
mongod.exe --dbpath "C:\data\db"
Now that you have met the prerequisites, follow these steps to install and run the project:
Clone with HTTPS:
# Clone the repository with HTTPS.
git clone https://github.com/kevalsayar/NFT-Marketplace.git
Clone with SSH:
# Clone the repository with SSH.
git clone [email protected]:kevalsayar/NFT-Marketplace.git
$ npm install
Create a new file named .env in the root of the project. Copy the variable names from the example.env file and populate their values in the .env file.
$ npm start
Open http://localhost:3000 (or the appropriate port) to view the app in your browser.
Note: The development server may run on a different port if port 3000 is already in use. Check the terminal for the correct URL.
Visit the platform at https://thenftagency.theblockchain.team/ to experience it in action.