All Projects → vendure-ecommerce → storefront

vendure-ecommerce / storefront

Licence: other
An example storefront PWA for Vendure built with Angular

Programming Languages

typescript
32286 projects
HTML
75241 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to storefront

Jet
Jet is an e-commerce framework for Amber / Crystal
Stars: ✭ 18 (-82.18%)
Mutual labels:  storefront, e-commerce
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 (+366.34%)
Mutual labels:  storefront, e-commerce
saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 15,824 (+15567.33%)
Mutual labels:  storefront, e-commerce
Saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 14,720 (+14474.26%)
Mutual labels:  storefront, e-commerce
Laracom
Laravel FREE E-Commerce Software
Stars: ✭ 1,570 (+1454.46%)
Mutual labels:  storefront, e-commerce
Ever
Ever® - Open-Source Commerce Platform for On-Demand Economy and Digital Marketplaces
Stars: ✭ 980 (+870.3%)
Mutual labels:  storefront, e-commerce
Firebase Cms
A CMS + E-commerce platform built with Angular and Firebase
Stars: ✭ 286 (+183.17%)
Mutual labels:  storefront, e-commerce
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 (+8920.79%)
Mutual labels:  storefront, e-commerce
Vc Storefront
VirtoCommerce Storefront for ASP.NET Core 3.1 repository
Stars: ✭ 122 (+20.79%)
Mutual labels:  storefront, e-commerce
Reaction
Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
Stars: ✭ 11,588 (+11373.27%)
Mutual labels:  storefront, e-commerce
alpine-prestashop
Prestashop running on Alpine Linux [Docker]
Stars: ✭ 13 (-87.13%)
Mutual labels:  e-commerce
Dumia
ECommerce Demo Application written in F#
Stars: ✭ 48 (-52.48%)
Mutual labels:  e-commerce
Smartshop
An e-commerce php/mysql website built from scratch (Deprecated)
Stars: ✭ 46 (-54.46%)
Mutual labels:  e-commerce
woocommerce-dadata
WooCommerce DaData
Stars: ✭ 22 (-78.22%)
Mutual labels:  storefront
oc-mall-theme
Demo theme for the oc-mall-plugin
Stars: ✭ 19 (-81.19%)
Mutual labels:  e-commerce
medusa
The open-source Shopify alternative ⚡️
Stars: ✭ 12,655 (+12429.7%)
Mutual labels:  e-commerce
node-amazon
E-commerce website done in Node, and Angular 11 (SSR)
Stars: ✭ 48 (-52.48%)
Mutual labels:  e-commerce
DigitalProducts
Sell digital products with Craft Commerce
Stars: ✭ 48 (-52.48%)
Mutual labels:  e-commerce
laravel-basket
A stable basket for an Laravel e-commerce website
Stars: ✭ 18 (-82.18%)
Mutual labels:  e-commerce
DACP
A digital asset personal portfolio for investors in the cryptosphere
Stars: ✭ 22 (-78.22%)
Mutual labels:  e-commerce

Vendure Angular Storefront

This is an e-commerce storefront application which is designed to be used with the Vendure ecommerce framework as a back end.

It is a progressive web application (PWA) which also uses Angular Universal for server-side rendering.

The app is built with the Angular CLI, with the data layer being handled by Apollo Client.

Development

  1. Clone this repo
  2. Run npm install or yarn in the root dir
  3. Run npm start or yarn start to build in development mode.
  4. Make sure you have a local Vendure instance running a http://localhost:3000.
  5. Open http://localhost:4201 to see the storefront app running.

Code generation

This project uses graphql-code-generator to generate TypeScript types based on the Vendure GraphQL API. To update the types, first change the schema property of codegen.yml to point to your local Vendure server, and then run the generate-types npm script.

Deployment

To deploy this storefront in a production environment, take the following steps:

  1. Open the environment.prod.ts file and change the values to match your deployed Vendure server. You also probably want to set the baseHref value to '/' rather than '/storefront/'.
  2. Open the angular.json file and set the baseHref values to point to root:
      "production": {
    -    "baseHref": "/storefront/",
    -    "deployUrl": "/storefront/", 
    +    "baseHref": "/",
    +    "deployUrl": "/", 
  3. You then need to build for production using the build:ssr npm script. This can be done either locally or on your production server, depending on your preferred workflow.
  4. The built artifacts will be found in the dist/ directory. The command to run the storefront as a server-rendered app is node dist/server/main.js. This will start a node server running on port 4000. You should configure your webserver to pass requests arriving on port 80 to localhost:4000.

Building for demo.vendure.io

This project is used in the Vendure Demo. There is a GitHub Actions workflow which is triggered whenever a new tag is added. The tag should be of the format "vX.Y.Z". The workflow will run the build:ssr script and upload the compiled output to an Amazon S3 bucket, from which the vendure-demo project will pull the artifacts.

License

MIT

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].