{"repo":"vendurehq/storefront-angular-starter","free":true,"listed":false,"github":"https://github.com/vendurehq/storefront-angular-starter","clone":"git clone https://github.com/vendurehq/storefront-angular-starter.git","description":"An example storefront PWA for Vendure built with Angular","language":"TypeScript","stars":186,"topics":["angular","storefront","pwa","e-commerce"],"license":null,"category":"ecommerce","readme_excerpt":"Vendure Angular Storefront [!NOTE] This project is community-maintained . For a storefront starter maintained by the Vendure team, see the Next.js Starter 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 0. Clone this repo 1. Run npm install or yarn in the root dir 2. Run npm start or yarn start to build in development mode. 3. Make sure you have a local Vendure instance running a http://localhost:3000 . 4. 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: 3. You then need to build for production using the build:ssr npm script. This can be done either locally or on your produ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vendurehq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vendurehq/storefront-angular-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}