A decentralized platform for managing and securing NFT using blockchain technology and zero-knowledge proofs.
Leveraging onchain data: Generative art will use different types of onchain data such as:
Transaction hashes. Wallet addresses. These data will influence the resulting image generated by the algorithm. Specific technology: Forma provides the ability to compile custom metadata, to be stored on-chain. Create new inputs for generative algorithms.
For example, NFTs with specific attributes may have a higher probability of generating rare works from a collection.
The project consists of two components:
- Built with Nextjs
- Use App router for routing
- Integrates with Thirdweb for wallet connection
- Modern UI with Tailwind CSS and Shadcn
- TypeScript for type safety
- Written with TypeSrcipt
- Uses Api router powered by Nextjs
- MongoDB database with MySQL
- JWT-based authentication
root/
βββ frontend # Client
β βββ app/ # Frontend React application
β β βββ [locale]/ # Source code for the frontend
β β βββ api/ # API routes and handlers
β βββ components/ # Reusable React components
β β βββ common/ # Common component
β β βββ form/ # Form field
β β βββ layout/ # Main layout
β β βββ nft/ # NFT listing
β β βββ sale-info/ # NFT sale info
β β βββ skeleton/ # Skeleton placeholder
β β βββ theme/ # Theme Providers
β β βββ thirdweb/ # Thirdweb custom component
β β βββ token/ # Token UI
β β βββ ui/ # Common UI application
β βββ contracts/ # Process Contracts
β βββ font/ # Fonts style for application
β βββ hooks/ # Custom React hooks
β βββ i18n/ # i18 providers
β βββ lib/ # Helper functions
β βββ messages/ # Messages for i18n
β βββ public/ # Static assets
β βββ styles/ # Style of Frontend application
| βββ .env.example # Example environment file to guide setup
| βββ package.json # Package of project
β βββ types/ # Types
βββ backend # Server
| βββ artifacts # Stores build files or smart contract-related artifacts
| βββ cache # Stores temporary cache data to optimize performance
| βββ config # Contains configuration files for the project
| βββ contracts # Holds smart contracts for blockchain development
| βββ node_modules # Installed npm libraries (auto-generated)
| βββ scripts # Includes automation scripts or deployment scripts for smart contracts
| βββ src # Main source code directory
| β βββ controllers # Handles business logic for API requests (Controller Layer)
| β βββ middleware # Middleware functions for request validation and processing
| β βββ models # Defines database models (ORM)
| β βββ routes # API routing configuration (Router Layer)
| β βββ services # Business logic and services for handling operations
| β βββ uploads # Stores temporarily uploaded files (if file upload feature exists)
| β βββ utils # Utility functions used across the project
| β βββ index.js # Main entry point for the application
| βββ test # Contains test scripts for smart contracts and APIs
| β βββ Collection.js # Tests for the Collection smart contract
| β βββ Token.js # Tests for the Token smart contract
| βββ .env.example # Example environment file to guide setup
| βββ .gitignore # Specifies files and directories to ignore in Git commits
| βββ APP_GENERATE_HUB_TEST.postman_collection.json # Postman API collection for testing endpoints
| βββ deployedCollectionContract.json # Stores deployed smart contract information
| βββ GHA_SQL.sql # SQL file, possibly for database structure or sample data
| βββ hardhat.config.js # Hardhat configuration file for Ethereum smart contract development
| βββ package-lock.json # Manages exact versions of installed dependencies
| βββ package.json # Manages dependencies and project metadata
βββ readme.md # Readme
- Node.js
- MongoDB
- MySQL 8.0
git clone https://github.com/Axyl1410/Generative-Hub-App
cd Generative-Hub-App
cd frontend
Use npm or pnpm to install the required packages:
npm i # Using npm
# or
pnpm i # Using pnpm
Start the frontend development server with:
npm run dev # Using npm
# or
pnpm dev # Using pnpm
The frontend will be available at http://localhost:3000
cd backend
npm i
Ensure you have a .env
file set up in the backend
directory.
Run the backend development server with:
npm run dev
The backend will be available at http://localhost:5000
- React 19
- Nextjs 15
- TypeScript
- Thirdweb
- Tailwind CSS
- Shadcn
- Framer Motion
- MongoDB
- Expressjs
- MySql
- Api router
- Forma NFTs Protocol
- Axios
We utilize FORMA technology to optimize smart contract interactions and reduce gas fees. This integration ensures:
- Low gas fees: Minimizing transaction costs for users.
- Seamless smart contract execution: Enhancing performance and usability.
- Security and scalability: Providing a stable and secure environment for NFT transactions.
Our platform is designed to fully leverage FORMAβs capabilities while maintaining a user-friendly experience.
- Ensure you have Node.js v18+ and npm/pnpm installed.
- Some libraries may require a specific version of Node.js to function properly.
- If you encounter errors, check for missing dependencies and ensure your environment variables are correctly set up.
We are actively working on improving UI and securing accounts and databases.
- Ensure efficient on-chain metadata processing without increasing costs.
- Add more new types of contracts and have supply per token.
- Upgrade AI for generative image processing.
- Build an interface that is intuitive enough for non-tech artists.
- Implement AI-powered chatbots for users to ask about NFTs, get recommendations, event updates, and search for top-ranked users.
- Compete with other innovative NFT platforms.
- Enhance AI capabilities to improve generative image models.
We are a team of software engineers students specializing in Web3 and Web2 development, with a focus on:
- Designing systems that are light yet powerful
- Blending technical expertise with innovative design to craft engaging digital experiences
- build user-friendly interfaces that not only look great but also function
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
Contributions are welcome! Please feel free to submit a Pull Request.
Made with β€οΈ by the Generative Hub App Team