GlobalGear is a Next.js-based web application that provides a seamless, secure, and lightning-fast checkout experience for global businesses using Solana blockchain technology.
- User authentication with Google OAuth
- Dashboard for managing checkout pages
- Creation of custom checkout pages
- Solana wallet integration for payments
- Multi-currency support
- Responsive design for various devices
- Next.js 14
- React 18
- TypeScript
- Tailwind CSS
- Solana Web3.js
- Solana Wallet Adapter
- Drizzle ORM
- Neon Database (PostgreSQL)
- Cloudinary (for image storage)
- Axios (for API requests)
- React Icons
Before you begin, ensure you have the following installed:
- Node.js (v14 or later)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/globalgear.git cd globalgear -
Install dependencies:
npm install # or yarn install -
Set up environment variables: Create a
.env.localfile in the root directory and add the following variables:NEXT_PUBLIC_DATABASE_URL=your_neon_database_url NEXT_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secret OKTO_API_URL=https://sandbox-api.okto.tech/api/v1Replace the placeholder values with your actual credentials.
-
Run the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 with your browser to see the result.
To set up the database schema, run the migration script:
npm run migrate
# or
yarn migrateThe easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the [Next.js deployment documentation](