Skip to content

Showcase of code examples and concrete use cases on how to implement, extend, and enhance Spartacus for CX customers, partners, and implementers.

License

Notifications You must be signed in to change notification settings

zebercut/spartacus-bootcamp

 
 

Repository files navigation

Description

This is a sample code repository for Spartacus implementation and extensibility. It showcases a set of code examples and concrete use cases on how to implement, extend and enhance Spartacus for CX customers, partners, and implementers.

Requirements

  • SAP Commerce Cloud instance
    • Release 1905 recommended
    • Works with 1811 and 1808, with reduced functionality
  • Angular CLI: v8.0.0 or later, no greater than v9.0.0
  • node.js: v10 or later, no greater than v12
  • yarn: v1.15 or later

Installation

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Limitations

It is recommended to use SAP Commerce 1905 and the latest version of Spartacus. Spartacus works with Release 1808 and 1811 of SAP Commerce Cloud, with some limitations.

Spartacus is also being updated so that it works well with upcoming releases of SAP Commerce Cloud. This means that certain features of Spartacus may only work with unreleased future editions of SAP Commerce Cloud. This will be noted as we release new versions of Spartacus.

How to Obtain Support

Spartacus bootcamp sample code is provided "as-is" with no official lines of support.

To get help from the Spartacus community:

Contributing

Team Spartacus welcomes feedback, ideas, requests, and especially code contributions.

  • Post comments to our Feedback chat in our Slack channel.
  • Read the Contributing document and learn how to:
    • Help others
    • Report an issue
    • Contribute code to Spartacus

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the SAP Sample Code License except as noted otherwise in the LICENSE file.

About

Showcase of code examples and concrete use cases on how to implement, extend, and enhance Spartacus for CX customers, partners, and implementers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.3%
  • JavaScript 7.2%
  • HTML 5.9%
  • CSS 4.6%