All Projects β†’ RobertBroersma β†’ Next Storefront

RobertBroersma / Next Storefront

πŸ›οΈ A dazzlingly fast E-Commerce solution built with Typescript and NextJS.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Next Storefront

nextjs-shopify-auth
Authenticate your Next.js app with Shopify.
Stars: ✭ 54 (-25%)
Mutual labels:  nextjs, shopify
Gatsby Theme Storefront Shopify
Create a Shopify store with Gatsby JS πŸ›οΈ πŸ›’
Stars: ✭ 175 (+143.06%)
Mutual labels:  storefront, shopify
Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+12554.17%)
Mutual labels:  storefront, shopify
Example Storefront
Example Storefront is Reaction Commerce’s headless ecommerce storefront - Next.js, GraphQL, React. Built using Apollo Client and the commerce-focused React UI components provided in the Storefront Component Library (reactioncommerce/reaction-component-library). It connects with Reaction backend with the GraphQL API.
Stars: ✭ 471 (+554.17%)
Mutual labels:  storefront, nextjs
Nextjs Pkg Docker Alpine
πŸ“₯Deploy a commercial Next.js application with pkg and docker.
Stars: ✭ 66 (-8.33%)
Mutual labels:  nextjs
Next Pkg
Extended Next.js server with pkg support
Stars: ✭ 55 (-23.61%)
Mutual labels:  nextjs
Next Starter Peacock
🦚 Beautiful Nextjs starter for software engineers and designers to show work they're so proud of
Stars: ✭ 53 (-26.39%)
Mutual labels:  nextjs
Nextjs Hn
A Hacker News Progressive Web App built using Next.js
Stars: ✭ 53 (-26.39%)
Mutual labels:  nextjs
Node Blog
πŸ”₯✨ A react blog project base on nodejs, nestjs, mongoose, typescript, react, ant-design,nextjs
Stars: ✭ 69 (-4.17%)
Mutual labels:  nextjs
Next Stats Action
GitHub action for generating stats for Next.js pull requests
Stars: ✭ 68 (-5.56%)
Mutual labels:  nextjs
Laravel Shopify
Laravel Shopify Package
Stars: ✭ 60 (-16.67%)
Mutual labels:  shopify
Open Source
πŸŽ‰ A list of GitHub issues to help beginners make their first pull request.
Stars: ✭ 57 (-20.83%)
Mutual labels:  nextjs
Graphql Apollo Next.js
A server-rendering GraphQL client with Apollo Client and Next.js
Stars: ✭ 59 (-18.06%)
Mutual labels:  nextjs
Next Authentication
Authentication & Authorization library for the Next.js framework
Stars: ✭ 55 (-23.61%)
Mutual labels:  nextjs
Apollo Server Vercel
⚫ Production-ready Node.js GraphQL server for Vercel Serverless Functions
Stars: ✭ 69 (-4.17%)
Mutual labels:  nextjs
Grommet Nextjs
Build enterprise apps with react and grommet
Stars: ✭ 54 (-25%)
Mutual labels:  nextjs
Next Ts Template
Template for Next.js using parameterized typed routing
Stars: ✭ 67 (-6.94%)
Mutual labels:  nextjs
Next React Graphql Apollo boostrap
React + GraphQL + Next.js project architecture that I play with right now
Stars: ✭ 59 (-18.06%)
Mutual labels:  nextjs
Twitter Bookmarks Search
WebExtension that adds ability search all your bookmarked tweets!
Stars: ✭ 59 (-18.06%)
Mutual labels:  nextjs
Denobrazil.com
πŸ‡§πŸ‡· Site oficial do Deno Brasil
Stars: ✭ 61 (-15.28%)
Mutual labels:  nextjs

Project logo

Next Storefront

Status GitHub Issues GitHub Pull Requests License


A dazzlingly fast E-Commerce solution built with Typescript and NextJS.

πŸ“ Table of Contents

🧐 About

Visit the demo here: https://next-storefront-statik.vercel.app/

πŸ“ This demo will be updated regularly as cool new features are rolled out!

🏁 Getting Started

Installing

Firstly, install @next-storefront/core. This package contains an adapter to pull in and transform data from different data sources. It also contains contexts and hooks.

npm install @next-storefront/core --save

Or

yarn add @next-storefront/core

🎈 Usage

Secondly, pick one or more data sources, and a checkout system.

Use with Shopify

When working with Shopify, Shopify acts as both the source of products and the checkout.

  1. Install @next-storefront/shopify
  2. Configure Shopify as a source:
// next-storefront.config.js

module.exports = {
  sources: [require('@next-storefront/shopify')],
}
  1. Configure Shopify Checkout:
// App layout

import { CartProvider } from '@next-storefront/core'
import * as shopifyCheckout from '@next-storefront/shopify/checkout'

export function Layout({ Component, pageProps }) {
  return (
    <CartProvider checkout={shopifyCheckout}>
      ...
    </CartProvider>
  )
}

Get a Shopify storefront api access token. The best way is to create a private app.

Set environment variables:
NEXT_PUBLIC_SHOPIFY_STOREFRONT_TOKEN=woohoobigtoken
NEXT_PUBLIC_SHOPIFY_STORE_NAME=statikly (as in statikly.myshopify.com)

Use With Stripe

When working with Stripe, Stripe Checkout acts as the checkout. You can pull in product data from anywhere! (Even Shopify)

  1. Install any data source, e.g. @next-storefront/json
  2. Configure your data source:
// next-storefront.config.js

module.exports = {
  sources: [require('@next-storefront/json')],
}
  1. Install @next-storefront/stripe
  2. Configure Stripe Checkout:
// App layout

import { CartProvider } from '@next-storefront/core'
import * as stripeCheckout from '@next-storefront/stripe/checkout'

export function Layout({ Component, pageProps }) {
  return (
    <CartProvider checkout={stripeCheckout}>
      ...
    </CartProvider>
  )
}

Set environment variables:
STRIPE_SECRET_KEY
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY

Create some products by adding .json files to the products directory.

⛏️ Built Using

πŸŽ‰ Acknowledgements

TODO Features (in no particular order):

  • [x] Static Generation
  • [x] Serverless deploy with Vercel or Netlify
  • [x] Work with SSG
  • [x] Work with Incremental Static (Re)generation
  • [ ] Work with live-updates for things like inventory
  • [x] Use with Shopify
  • [x] Use with Stripe Checkout (This paves the way for retrieving products from anywhere!)
  • [ ] Use with Stripe Products
  • [ ] Use with other sources
  • [ ] Wishlists
  • [ ] Search & Filters
  • [ ] Custom Checkout
  • [ ] Order Pages
  • [ ] PWA
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].