A modern, enterprise-grade frontend interface for the Binance Pay crypto payment gateway. Built to provide a seamless, highly optimized experience for managing crypto payments, API keys, webhooks, and monitoring transactions.
- Real-time Dashboard: Monitor transactions, available balance, and API metrics.
- Enterprise UI/UX: Clean, dark-mode focused, modern design powered by Tailwind CSS.
- Secure Authentication: JWT & OAuth based protected routes.
- Developer First: Built-in API documentation and webhook monitoring pages.
- Highly Optimized: Fast loading speeds, smooth scrolling, and optimized React components.
- Framework: React.js
- Styling: Tailwind CSS
- Routing: React Router v6
- Data Fetching: React Query & Axios
- Icons: Lucide React
- Animations: Framer Motion & Lenis (Smooth Scrolling)
- Configuration: Craco (Create React App Configuration Override)
Before you begin, ensure you have the following installed on your local machine:
- Node.js (v16.x or higher)
- npm or yarn
-
Clone the repository
git clone <your-repo-url> cd binance-pay/frontend
-
Install Dependencies
npm install
-
Environment Variables Create a
.envfile in the root of the frontend directory:REACT_APP_BACKEND_URL=http://localhost:5000
(Update the backend URL if your API is hosted elsewhere)
-
Start Development Server
npm start
The application will start running on http://localhost:3000.
To create an optimized production build, run:
npm run buildThis command compiles the React code and outputs the minified production-ready files into the build/ directory. You can easily deploy this folder to Vercel, Netlify, AWS S3, or any static hosting service.
frontend/
├── public/ # Static assets (index.html, favicon.svg)
├── src/
│ ├── components/ # Reusable UI components (Navbar, ProtectedRoute)
│ ├── context/ # Global React context (AuthContext)
│ ├── pages/ # Application views (Dashboard, Checkout, Login)
│ ├── App.js # Main landing page component
│ └── index.js # Entry point & React Router configuration
├── craco.config.js # Webpack overrides
└── tailwind.config.js # Tailwind CSS configuration
Contributions, issues, and feature requests are welcome!
This project is licensed under the MIT License.