Developer Notes
CBP JS / CSS Repositories
Web-Page-Styling
Web Docs Repositories
Web documentation docs.ecomnow.org ecomnow-docs
Single Sign On Repositories
General-SSO
Docker Deployment Code Repositories
dockerdeploy
Lambda Repositories
ecom-lambda
Quick Books Repositories
ecom-qb
Tax Service Repositories
tax-service
CBP Admin Repositories
CBP-Admin
How to run locally
API Repositories
ecom-api
How to run locally
Scheduler Repositories
ecom-scheduler
How to run locally
Web Services Repositories
restapi
How to run locally
Ecom Repositories
ecom
ManageZK
To get a better JS script log, you will need to insert in zk.xml the following:
In addition , to preserve the logs for Network to create the HAR file and then do a performance recording which provides you the script log.
This will give us insight of what is happening on someone's machine.
Simulation of Touch Screen and Tablet
On the bottom, Console using the 3 dots, Network Conditions
- uncheck use browser default
- select chrome - IPAD
Store
Rest API
Backend
How to run locally eCom-Api
- By default ecom-api runs on port 8444.
- Simply run the application after updating the database connections.
- change application.yml locally root with password
- To test the API using Swagger, navigate to: https://localhost:8444/ecom-api/swagger-ui/index.html using the browser
- To consume the API in other applications (e.g., admin panel or SSO), use: https://localhost:8444/ecom-api/
ecom-api supports multiple authentication methods:
- Basic Authentication
- Credentials (username and password) can be found in application.yaml under the basic-auth section.
- Vendor Credentials
- Obtain the username and password from the vendor table in the database.
- Auth Token from cognito
- Use the Auth API available in Swagger to generate a token.
Note: Some endpoints may also require an API key. This key can be found in application.yaml under ecom-api:apikey
Special Notes
- UUID Generator - https://www.uuidgenerator.net/
- Password Generator - https://passwordsgenerator.net/
- AWS Reset Password Using Cloud Shell - aws cognito-idp admin-set-user-password --user-pool-id us-east-1_ldcWYJU9V --username xxx@xxxxx.com --password Temp@12345 --no-permanent