CodedForum is a fully-featured Web3 Learn-to-Earn community forum where users share knowledge and earn cryptocurrency rewards.
CodedForum is a decentralized knowledge-sharing platform that incentivizes quality contributions through blockchain-based rewards. Users earn tokens for creating posts, commenting, and receiving upvotes, creating a vibrant, engaged community.
- โ Web3 Wallet Integration - Seamless MetaMask connection
- โ Learn-to-Earn System - Earn tokens for contributions
- โ Forum Functionality - Create posts, comment, and discuss
- โ Voting System - Upvote/downvote posts and comments
- โ Reputation Tracking - Build your on-chain reputation
- โ Leaderboard - Compete with top contributors
- โ Token Rewards - Claim your earned CFT tokens
- โ IPFS Integration - Decentralized content storage
- โ Smart Contracts - ERC20 token with reward mechanisms
- โ User Profiles - Track your stats and achievements
- Create Posts: 5 reputation points
- Comment: 2 reputation points + 1 token
- Receive Upvotes: 1 reputation point + 0.5 tokens
- React.js - Modern UI framework
- Ethers.js - Ethereum blockchain interaction
- React Router - Client-side routing
- CSS3 - Responsive design
- Node.js - Server runtime
- Express.js - Web framework
- IPFS - Decentralized storage
- In-memory storage - Development database
- Solidity 0.8.20 - Smart contract language
- Hardhat - Development environment
- OpenZeppelin - Secure contract libraries
- ERC20 Standard - Token implementation
- Node.js (v16+)
- npm or yarn
- MetaMask browser extension
- Clone the repository
git clone https://github.com/codedforum/CodedForum-community.git
cd CodedForum-community- Install dependencies
npm run install-all- Configure environment
cp .env.example .env
# Edit .env with your configuration- Run the application
npm run dev-all- Access the app
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
For detailed setup instructions, see SETUP.md
- Setup Guide - Complete installation and configuration guide
- Architecture - System architecture and design decisions
- API Documentation - Backend API reference
CodedForum-community/
โโโ client/ # React frontend application
โ โโโ src/
โ โ โโโ components/ # React components
โ โ โโโ utils/ # Utility functions
โ โ โโโ App.js # Main app component
โ โโโ package.json
โโโ server/ # Express backend
โ โโโ index.js # Main server file
โ โโโ utils/ # Server utilities
โโโ contracts/ # Smart contracts
โ โโโ CodedForumToken.sol
โ โโโ scripts/deploy.js
โโโ package.json
โโโ README.md
POST /api/users/register- Register new userGET /api/users/:walletAddress- Get user profile
GET /api/posts- Get all postsPOST /api/posts- Create new postGET /api/posts/:id- Get single postPOST /api/posts/:id/comments- Add commentPOST /api/posts/:id/vote- Vote on post
GET /api/rewards/leaderboard- Get top usersPOST /api/rewards/claim- Claim rewards
Beautiful landing page with post listings and category filters
Intuitive post creation with reward information
Track top contributors and earning statistics
Personal dashboard with token balance and activity
- Forum functionality
- Web3 wallet integration
- Token rewards system
- IPFS integration
- MongoDB integration
- JWT authentication
- On-chain reputation storage
- NFT achievement badges
- Token staking
- Advanced analytics
- Mobile application
- Governance system
- Multi-chain support
- DAO formation
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: [Coming Soon]
- Twitter: [Coming Soon]
- Discord: [Coming Soon]
- Documentation: docs.codedforum.io
- ๐ง Email: support@codedforum.io
- ๐ฌ Discord: Join our community
- ๐ Issues: GitHub Issues
- OpenZeppelin for secure smart contract libraries
- Ethereum community for Web3 standards
- React community for amazing tools
- All contributors and supporters
Built with โค๏ธ for the Web3 community
Empowering knowledge sharing through blockchain technology