Skip to content

sumitchoudharySEM/Rent-It-Up

Repository files navigation

🏠 RENT IT UP - Rent Your Physicsal and Digital Assets on Flow!

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. ✨

Features ✨

  • 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 🌈🖥️

Technologies Used 🛠️

  • 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 💅

Getting Started 🚀

To get started with Rent It Up, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/rent-it-up.git 📥
  2. Install dependencies: yarn install 📦
  3. Start the development server: npm run dev 🏃‍♂️
  4. Access the application at: http://localhost:3000 🌐

Contributing 🤝

Contributions are welcome! If you'd like to contribute to Rent It Up, please follow these guidelines:

  1. Fork the repository 🍴
  2. Create a new branch for your feature or bug fix: git checkout -b my-feature 🌟
  3. Make your changes and commit them: git commit -m 'Add new feature'
  4. Push the changes to your forked repository: git push origin my-feature 🚀
  5. Submit a pull request detailing your changes 🎉

Configuration ⚙️

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.

Authentication 🔐

This app demonstrates three forms of authentication in the Niftory API.

User authentication

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.

App Credentials authentication using Next.js API routes or in your backend

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.

License 📄

Rent It Up is released under the MIT License. See LICENSE for more information. 📝✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published