GitHub - geins-io/vercel-nextjs-commerce: Vercel Next.js Commerce Starter (original) (raw)

Deploy with Vercel

Next.js Commerce x Geins

A high-performance, server-rendered Next.js (15 RC) App Router ecommerce application.

This template showcases the integration of Geins Commerce API with Next.js Commerce, leveraging the open-source Geins SDK.

Features

What is Geins?

Geins is the ultimate toolkit for modern commerce. With Geins, developers and agencies can craft unique, tailored shopping experiences using:

Explore the Geins Commerce API documentation for detailed usage instructions and capabilities.

Getting Started

To run this application locally, follow these steps:

Prerequisites

Ensure you have the following installed:

Environment Variables

Set up your environment variables as defined in .env.example. It's recommended to use Vercel's Environment Variables for secure storage.

⚠️ Important: Never commit your .env file to version control.

Steps to Run Locally

  1. Clone this repository:
    git clone https://github.com/geins-io/vercel-nextjs-commerce.git
    cd
  2. Install dependencies:
  3. Link your local instance with Vercel and pull environment variables:
    npm i -g vercel
    vercel link
    vercel env pull
  4. Start the development server:
  5. Access the app on http://localhost:3000.