{"id":18780524,"url":"https://github.com/barkprotocol/blink-commerce-template","last_synced_at":"2025-12-18T21:30:16.160Z","repository":{"id":256928179,"uuid":"856818870","full_name":"barkprotocol/blink-commerce-template","owner":"barkprotocol","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-14T09:22:34.000Z","size":4304,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T10:44:13.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blink-commerce-one.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barkprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T09:08:45.000Z","updated_at":"2024-09-23T11:39:10.000Z","dependencies_parsed_at":"2024-09-14T00:05:53.808Z","dependency_job_id":"e5248812-5a9e-4d23-835a-ab3b3a416228","html_url":"https://github.com/barkprotocol/blink-commerce-template","commit_stats":null,"previous_names":["barkprotocol/blink-commerce","barkprotocol/blink-commerce-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fblink-commerce-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fblink-commerce-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fblink-commerce-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fblink-commerce-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barkprotocol","download_url":"https://codeload.github.com/barkprotocol/blink-commerce-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239696430,"owners_count":19682234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:26:55.191Z","updated_at":"2025-12-18T21:30:16.085Z","avatar_url":"https://github.com/barkprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BARK E-commerce\n\nWelcome to BARK E-commerce, your one-stop shop for all things BARK. This project features a modern e-commerce platform built with Next.js, TypeScript, and Tailwind CSS, and leverages the Solana blockchain for a seamless shopping experience.\n\n![E-commerce frontend UI](.github/assets/screenshot.png)\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Configuration](#configuration)\n- [ToDo](#todo)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Hero Section**: Eye-catching introduction with a call to action.\n- **Features Section**: Highlights key benefits like product selection, delivery, and secure shopping.\n- **Featured Products**: Displays top products with detailed information and add-to-cart functionality.\n- **Join Community Section**: Newsletter subscription form for exclusive offers and updates.\n- **CTA Section**: Encourages users to explore all products.\n\n## Installation\n\nTo get started with this project locally, follow these steps:\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/barkprotocol/bark-commerce.git\n   ```\n\n2. **Navigate to the Client Directory**\n\n   ```bash\n   cd client\n   ```\n\n3. **Install Dependencies**\n\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n4. **Set Up Environment Variables**\n\n   Create a `.env.local` file in the root directory and add the following variables. Use the sample values as placeholders, and replace them with your actual values:\n\n   ```plaintext\n   NEXT_PUBLIC_SUPABASE_URL=\n   NEXT_PUBLIC_SUPABASE_ANON_KEY=\n   NEXT_PUBLIC_SOLANA_NETWORK=devnet\n   NEXT_PUBLIC_SOLANA_RPC_URL=https://api.devnet.solana.com\n   NEXT_PUBLIC_MINT_API_URL=\n\n   BARK_COMMERCE_API_URL=https://api.example.com\n   BARK_COMMERCE_API_KEY=your-api-key-here\n\n   SOLANA_MAINNET_RPC_URL=insert_url_here\n   SOLANA_DEVNET_RPC_URL=insert_url_here\n\n   HELIUS_MAINNET_RPC_URL=https://mainnet.helius-rpc.com/?api-key=\n   HELIUS_DEVNET_RPC_URL=https://devnet.helius-rpc.com/?api-key=\n\n   PROXY_WALLET_SK=insert_key_here\n   SERVER_WALLET_SK=insert_key_here\n\n   SHYFT_API_KEY=https://rpc.shyft.to?api_key=c1AmdE28Ks7cwKzp\n\n   GMAIL_CLIENT_ID=insert_id_here\n   GMAIL_CLIENT_SECRET=insert_secret_here\n   GMAIL_REDIRECT_URI=https://developers.google.com/oauthplayground\n   GMAIL_REFRESH_TOKEN=insert_refresh_here\n   EMAIL_USER=insert_email_here\n   EMAIL_FROM=insert_email_here\n   ```\n\n## Usage\n\n1. **Start the Development Server**\n\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n2. **Open your browser and navigate to [`http://localhost:3000`](http://localhost:3000)** to see the application in action.\n\n3. **For production deployment**, ensure to set up environment variables and build the project:\n\n   ```bash\n   npm run build\n   # or\n   yarn build\n   ```\n\n   Deploy the project to Vercel or your preferred hosting provider.\n\n## Configuration\n\n- **Styling**: Uses Tailwind CSS for styling. Customize the configuration in `tailwind.config.js`.\n- **Fonts**: Google Fonts Oswald for titles, Poppins Light for body text, and Syne fonts.\n- **Wallet Integration**: Includes Phantom, Solflare, and Backpack wallets using `@solana/wallet-adapter-react`.\n\n### Prisma Configuration\n\n1. Set the `DATABASE_URL` in the `.env` file to point to your existing database. If your database has no tables yet, read [Prisma Getting Started](https://pris.ly/d/getting-started).\n2. Set the provider of the `datasource` block in `schema.prisma` to match your database: postgresql, mysql, sqlite, sqlserver, mongodb, or cockroachdb.\n3. Run `prisma db pull` to turn your database schema into a Prisma schema.\n4. Run `prisma generate` to generate the Prisma Client. You can then start querying your database.\n5. Tip: Explore how you can extend the ORM with scalable connection pooling, global caching, and real-time database events. Read [Prisma Beyond ORM](https://pris.ly/cli/beyond-orm).\n\n## ToDo\n\n- **Solana Actions and Blinks**: Implement and integrate Solana actions and blinks for enhanced functionality.\n\n## Contributing\n\nIf you would like to contribute to this project, please follow these guidelines:\n\n1. **Fork the Repository** and create a new branch.\n2. **Make your changes** and ensure they are well-tested.\n3. **Submit a Pull Request** with a clear description of the changes.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fblink-commerce-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarkprotocol%2Fblink-commerce-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fblink-commerce-template/lists"}