React Storefront is an open-source frontend e-commerce platform from the Saleor team.
- Next.js
- TypeScript
- GraphQL
- modern & fast
- easily customizable
- works out-of-the-box
- all-in-one solution
Install dependencies:
pnpm i
Start the dev server:
npm run dev
If you modify GraphQL files and would like to update the hooks, run:
npm run generate
Script will start the GraphQL Code Generator in the watch mode, so changes in the querries will be automatically updated.
The .env
file contains environment variables used by the application. You can override them by creating .env.local
file.
The repository contains ready to use VS Code debugger configuration (.vscode/launch.json
).
Start server in debug mode
npm run debug
Add breakpoints, and start debugging session in your editor.
GraphQL extension for VSCode adds syntax highlighting, validation, and language features like go to definition, hover information and autocompletion for graphql projects. This extension also works with queries annotated with gql tag.
VS Marketplace link