techger / storefront

An example storefront PWA for Vendure built with Angular

Home Page:https://demo.vendure.io/storefront/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Deployment

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

About

An example storefront PWA for Vendure built with Angular

https://demo.vendure.io/storefront/


Languages

Language:TypeScript 73.1%Language:HTML 19.2%Language:CSS 7.4%Language:JavaScript 0.4%