MateusGabi / saleor-storefront

A GraphQL-powered, PWA, single-page application storefront for Saleor.

Home Page:https://pwa.getsaleor.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saleor Storefront

1 copy 2x

Note: This project is beta quality. We don't advise using it in production.

A GraphQL-powered, PWA, single-page application storefront for Saleor.

Features

Demo

See the public demo of Saleor Storefront!

Or launch the demo on a free Heroku instance. Note that you have to set the BACKEND_URL environment to point to the Saleor instance.

Deploy

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js 10.0+

  • A running instance of Saleor.

    To run the storefront, you have to set the BACKEND_URL environment to point to the Saleor instance. If you are running Saleor locally with the default settings, set BACKEND_URL to: http://localhost:8000/.

Installing

Clone the repository:

git clone git@github.com:mirumee/saleor-storefront.git

Enter the project directory:

cd saleor-storefront

Install NPM dependencies:

npm i

Run the development server:

npm start

Go to http://localhost:3000 to access the storefront.

Translating

Add a new language pack file:

npm run add-locale <locale>

Update the list of available languages in the ./src/languages.ts file.

Extract messages from source files that need to be translated:

npm run extract

Compile messages:

npm run compile

License

This project is licensed under the BSD-3-Clause License - see the LICENSE file for details

Crafted with ❤️ by Mirumee Software

hello@mirumee.com

About

A GraphQL-powered, PWA, single-page application storefront for Saleor.

https://pwa.getsaleor.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 89.6%Language:CSS 7.3%Language:JavaScript 2.9%Language:HTML 0.2%