Skip to content

takeshape/takeshape-starter-angular

Repository files navigation

TakeShape Starter Angular

The following is a guide to launching a Angular TakeShape project that injects Ecommerce data into your components.

Instructions

  1. Create a TakeShape project with the pattern in this repo. The button below will deploy the project:
  • Deploy To TakeShape
  1. Follow our documentation to create a read-only API Key.

  2. Find your API Endpoint by navigating to your project in the TakeShape web client and clicking on the Home tab. Scroll down, and you'll see your API Endpoint in the Useful Snippets section on the bottom right. Refer to the image below:

Useful Snippets

  1. In the terminal on your local machine, clone this repo with git clone https://github.com/takeshape/takeshape-starter-angular

  2. Open the project in your favorite IDE or change directories into it with your terminal.

  3. Edit products.service.ts in the src/app directory and replace the text that says YOUR-ENDPOINT-HERE with your API Endpoint. Replace the text that says YOUR-API-KEY-HERE with your API Key.

  4. Run npm install and then ng serve in your terminal.

Learn More

Check out our docs on this project to learn how this example works.

About

A starter project for adding TakeShape to an Angular Project. Please follow the instructions in the README to start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published