Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c784c2d
update ui and app kit
behnamt Oct 22, 2024
1c4bdbb
use full mc-api for unsupported regions
behnamt Aug 27, 2024
3b60bbe
Merge pull request #3 from commercetools-demo/full-mc-url
behnamt Oct 22, 2024
3521143
Remove camelCase conversion
behnamt Sep 26, 2024
18f625d
move to connect app
behnamt Oct 22, 2024
71cd505
fix type
behnamt Oct 28, 2024
a47b336
fix app config
behnamt Oct 29, 2024
db77bfa
update yarn.lock
behnamt Oct 29, 2024
03d6398
use sdk-v2
behnamt Oct 30, 2024
9bba38a
no lock file
behnamt Oct 30, 2024
289cb89
with yarn.lock
behnamt Oct 30, 2024
bdf67b1
fix empty mc_url
behnamt Oct 31, 2024
0864f55
remove azure support
behnamt Nov 1, 2024
696d005
cors issue
behnamt Nov 4, 2024
ceb51f2
add type defs
behnamt Nov 4, 2024
fc66b4b
Searchable reference fields
behnamt Nov 5, 2024
2688351
shared code-base
behnamt Nov 18, 2024
adf1c92
fix mutation
behnamt Nov 18, 2024
e2f1e7f
separation with singleValueQueryDataObject
behnamt Nov 18, 2024
1635d74
remove extra env variables
behnamt Nov 18, 2024
0ee471a
fix scripts
behnamt Nov 18, 2024
ce7baf0
Add reference validation
behnamt Nov 18, 2024
ad5d923
All query
behnamt Nov 19, 2024
25e592c
remove preinstall
behnamt Nov 19, 2024
7f55da8
remove preinstall
behnamt Nov 19, 2024
a0afb90
style search option
behnamt Nov 19, 2024
7bfa1ae
all queries
behnamt Nov 19, 2024
240e6d8
disabled options
behnamt Nov 19, 2024
889c79d
fix package manager
behnamt Nov 19, 2024
a007adf
update readme file
behnamt Nov 19, 2024
df03e11
update yarn.lock
behnamt Nov 19, 2024
6fad611
remove github workflows
behnamt Nov 19, 2024
be653b5
remove gcp-build
behnamt Nov 19, 2024
d9e8334
update logger
behnamt Nov 20, 2024
a7193d6
update logger
behnamt Nov 20, 2024
2bd2546
sync shared-package versions with mc-app
behnamt Nov 20, 2024
c9acceb
use shared code in both
behnamt Feb 6, 2025
dc0c6eb
remove validation-service
behnamt Feb 6, 2025
87436e1
Merge pull request #4 from commercetools-demo/reference-search-connec…
behnamt Feb 6, 2025
58871e3
update readme file
behnamt Feb 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .env

This file was deleted.

65 changes: 0 additions & 65 deletions .eslintrc.js

This file was deleted.

Binary file removed .github/.DS_Store
Binary file not shown.
24 changes: 12 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
node_modules/
dist/
coverage/
public/
csp.json
env.json
node_modules
coverage
.terraform
*.tfvars

!.env
.env.local
.firebase/
.firebaserc
firebase.json
lambda.js
_site/
.sass-cache/

.DS_Store
.vscode
.idea
build/
public/
154 changes: 134 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,152 @@
<center>
<img alt="Aries Labs" width="300" src="docs/assets/Labs-For-Dk_BG.svg">
</center>
# Custom object editor

This repo is a [Connect](https://docs.commercetools.com/connect) repository that allows you to manage custom objects in commercetools platform. There are two connect-apps in this repo:

# Custom Object Editor
- `mc-app`: A React application for managing custom objects in commercetools platform.
- `validation-service`: A Node.js service for validating custom objects in commercetools platform.

## Overview
This project is a commercetools custom application that allows the end user to create, view, and manage custom objects directly from the Merchant Center. Custom objects are an extremely powerful feature of the Composable Commerce offering and is useful for storing all sorts of diverse data. This application adds to that power by exposing this data to a business user without the need to go through APIs.
## Instalation
Refer to [documentation](https://docs.commercetools.com/merchant-center/connect) for more information

### Key Features
- **User Interface:** Professional user interface that seemlessly matches the Merchant Center design.
- **Easy Deploy:** The application can easily be deployed into multiple projects or organizations directly through the Merchant Center.
## Development

### Prerequisites

## Getting Started
- Node.js (version 18 or higher)
- Yarn (version 1.22 or higher)

### Local development

1. Clone the repository
2. Run `yarn install` in `mc-app` and `validation-service` directories to install all dependencies
3. Run `yarn start` in `mc-app` and `validation-service` directories to start the application
4. Refer to [documentation](https://docs.commercetools.com/connect/steps-locally-test-service) for more information

## Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues to discuss proposed changes or report bugs.
### Configuration
- [mc-app](./mc-app/README.md)
- [validation-service](./validation-service/README.md)

For major changes, please open an issue first to discuss what you would like to change. Ensure to update tests as appropriate.

## License
### TODO

This source code is provided under the [GNU AGPLv3 license](https://www.gnu.org/licenses/agpl-3.0.en.html).
- Add more references types:

All work product released in this repository is provided ​“AS IS”. We makes no other warranties, express or implied, and hereby disclaims all implied warranties, including any warranty of merchantability and warranty of fitness for a particular purpose. The demo provided is for testing purposes only, does not include any form of SLA, and should not be used in a production environment.
[ ] approval-flow
References an ApprovalFlow.

If you would like to discuss alternative licensing or leveraging this application in your composable stack, please [reach out to Aries Solutions](https://www.ariessolutions.io/contact-aries/) to discuss options.
[ ] approval-rule
References an ApprovalRule.

----
[ ] associate-role
References an AssociateRole.

[ ] attribute-group
References an AttributeGroup.

# [Aries Labs](https://www.ariessolutions.io/)
[ ] business-unit
References a BusinessUnit.

This project is part of the Aries Labs initiative. To learn more about Aries Solutions and other projects including the MACH Booster please visit our website. [ariessolutions.io](https://www.ariessolutions.io)
[x] cart
References a Cart.

[x] cart-discount
References a CartDiscount.

[x] category
References a Category.

[x] channel
References a Channel.

[x] customer
References a Customer.

[ ] customer-email-token
References a CustomerToken for email verification.

[x] customer-group
References a CustomerGroup.

[ ] customer-password-token
References a CustomerToken for password reset.

[ ] direct-discount
References a DirectDiscount.

[x] discount-code
References a DiscountCode.

[ ] extension
References an Extension.

[ ] inventory-entry
References an InventoryEntry.

[x] key-value-document
References a CustomObject.

[x] order
References an Order.

[x] order-edit
References an Order Edit.

[x] payment
References a Payment.

[x] product
References a Product.

[x] product-discount
References a ProductDiscount.

[x] product-price
References an Embedded Price.

[ ] product-selection
References a ProductSelection.

[ ] product-tailoring
References a ProductTailoring.

[x] product-type
References a ProductType.

[ ] quote
References a Quote.

quote-request
References a QuoteRequest.

[ ] review
References a Review.

[x] shipping-method
References a ShippingMethod.

[x] shopping-list
References a ShoppingList.

[ ] staged-quote
References a StagedQuote.

[ ] standalone-price
References a StandalonePrice.

[x] state
References a State.

[x] store
References a Store.

[ ] subscription
References a Subscription.

[ ] tax-category
References a TaxCategory.

[x] type
References a Type.

[x] zone
References a Zone.
22 changes: 22 additions & 0 deletions connect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
deployAs:
- name: mc-app
applicationType: merchant-center-custom-application
configuration:
standardConfiguration:
- key: CUSTOM_APPLICATION_ID
description: The Custom Application ID
required: true
- key: APPLICATION_URL
description: The Custom Application URL
required: true
- key: ENTRY_POINT_URI_PATH
description: The Application entry point URI path
required: true
default: 'custom-object-editor'
- key: INITIAL_PROJECT_KEY
description: development project key
required: true
- key: CLOUD_IDENTIFIER
description: one of the following gcp-us, gcp-eu, aws-us, aws-eu
required: false
default: 'gcp-us'
6 changes: 0 additions & 6 deletions docs/Gemfile

This file was deleted.

Loading