Rent It Up is a decentralized marketplace for renting non-fungible tokens (NFTs) built fully on-chain on Flow Blockchain. It allows users to browse, rent, and list NFTs for rent. The platform aims to provide a seamless experience for both NFT owners and renters, enabling them to engage in the emerging trend of NFT renting. ✨
- Browse and search for available NFTs for rent 🔍
- Rent NFTs for a specified duration ⏳
- List your own NFTs for rent 📚
- Smart contract integration for secure and transparent transactions 🔒💰
- User-friendly interface for seamless navigation 🌈🖥️
- Cadence: Smart contract development 📝
- Flow Network: Blockchain network for NFT transactions ⛓️
- Filecoin (web3.storage): Decentralized storage for NFT metadata 🗂️
- Next.js: Server-side rendering framework 🌐
- Chakra UI: UI component library 💅
To get started with Rent It Up, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/rent-it-up.git
📥 - Install dependencies:
yarn install
📦 - Start the development server:
npm run dev
🏃♂️ - Access the application at:
http://localhost:3000
🌐
Contributions are welcome! If you'd like to contribute to Rent It Up, please follow these guidelines:
- Fork the repository 🍴
- Create a new branch for your feature or bug fix:
git checkout -b my-feature
🌟 - Make your changes and commit them:
git commit -m 'Add new feature'
✨ - Push the changes to your forked repository:
git push origin my-feature
🚀 - Submit a pull request detailing your changes 🎉
This app uses dotenv for configuration, so you can set your app's environment variables by creating a .env
file in this directory.
See .env.example
for an example of how to configure these environment variables.
This app demonstrates three forms of authentication in the Niftory API.
We use NextAuth to manage user sessions in this app.
Our configuration uses Niftory as the only OAuth provider and saves the user's Niftory token in the session.
The browser's GraphQL client then includes that token in every request to the Niftory API as a bearer token in the Authorization
header.
If you want to make requests using the app's credentials instead of the user's credentials for performing admin-only tasks, you can do so using the Serverside GraphQL Client.
Note: This client should not be used in the frontend. It should either be used in the backend of your app or in the Next.js API Routes.
Rent It Up is released under the MIT License. See LICENSE for more information. 📝✨