A modern web application for crypto mining management with real-time tracking, wallet management, and mining controls.
-
Real-time Dashboard
- Live mining statistics
- Current hash rate monitoring
- Mining rewards tracking
-
Secure Wallet Management
- QR code generation for addresses
- QR code scanning for transfers
- Transaction history
- Real-time balance updates
-
User Authentication
- Secure login/signup
- JWT token-based authentication
- Protected routes
-
Mining Controls
- Start/Stop mining operations
- Mining pool selection
- Performance metrics
-
Frontend
- React.js
- Tailwind CSS
- HTML5-QRCode
- Lucide Icons
- React Router DOM
-
Backend
- Node.js
- Express.js
- MongoDB
- JWT Authentication
- Clone the repository
git clone https://github.com/Innocent-Developer/codexac-frontend
cd crypto-mining-app
- Install dependencies
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install
- Environment Setup
Create a
.env
file in the backend directory:
PORT=4000
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
- Start the application
# Start backend server
cd backend
npm start
# Start frontend development server
cd frontend
npm start
- Port: 3000 (default)
- API URL: http://localhost:4000 (configurable)
- Port: 4000 (configurable)
- Database: MongoDB
- Authentication: JWT
- JWT token authentication
- Protected API routes
- Secure wallet transactions
- Password hashing
- Rate limiting
- POST
/api/auth/register
- User registration - POST
/api/auth/login
- User login - GET
/api/auth/verify
- Token verification
- GET
/api/wallet/balance
- Get wallet balance - POST
/api/wallet/transfer
- Transfer funds - GET
/api/wallet/transactions
- Get transaction history
- GET
/api/mining/stats
- Get mining statistics - POST
/api/mining/start
- Start mining - POST
/api/mining/stop
- Stop mining
- Node.js (v14 or higher)
- npm (v6 or higher)
- MongoDB
# Run frontend tests
cd frontend
npm test
# Run backend tests
cd backend
npm test
# Build frontend
cd frontend
npm run build
# Build backend
cd backend
npm run build
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Issue #1: Description of known issue
- Issue #2: Description of known issue
- Mobile application
- Multiple wallet support
- Advanced mining analytics
- Automated trading features
- Mining pool integration
- Abubakkar Sajid - Software Developer - Innocent-Develope
- Hat tip to anyone whose code was used
- Inspiration
- etc
For support, email abubakkarsajid4@gmail.com or join our Slack channel.
Made with ❤️ by Abubakkar sajid