Skip to content

vuestorefront/storefront-playground

Repository files navigation

Alokai Next.js Storefront Playground

This is a minimal example of the Alokai Storefront using Next.js and Turbo. It includes a simple product listing page and a product detail page, as well as a Storyblok CMS driven homepage.

Tech Stack

Integrations

This monorepo includes the following integrations:

  • Fakestore Integration - a custom Fakestore API integration to fetch products and categories
  • Storyblok Integration - a custom Storyblok API integration to fetch homepage content

Integrations packages are located in the packages directory.

Getting Started

First, clone the repository:

git clone [email protected]:vuestorefront/storefront-playground.git

Then, install the dependencies:

cd storefront-playground
npm install

Finally, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

What's inside?

This monorepo includes the following packages/apps:

Apps and Packages

  • apps/storefront: a Next.js app that uses the Alokai Storefront
  • apps/middleware: Alokai Connect Middleware for the Storefront
  • packages/fakestore: a custom Fakestore API integration
  • packages/storyblok: a custom Storyblok API integration
  • packages/typescript-config: a custom TypeScript configuration for the monorepo
  • packages/eslint-config: a custom ESLint configuration for the monorepo

Build

To build all apps and packages, run the following command:

npm build

Useful Links

Learn more about the power of Turborepo:

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published