View Source BasicECommerce (Basic e-commerce v0.1.0)
Main module for this library.
To use it, it needs to be used on your own application and it should configure an adapter
by specifying the used otp_app and correctly configuring the adapter for this OTP app.
example
Example
# config/config.exs
config :my_app, MyApp.BasicECommerce,
adapter: BasicECommerce.DataSource.JsonAdapter,
json_file_path: '/data/pricing_data.json`
# my_app/basic_ecommerce.ex
defmodule MyApp.BasicECommerce do
use BasicECommerce, otp_app: :my_app
end