Commit Graph

28 Commits

Author SHA1 Message Date
Sebastian Rindom 44219e85c1 Merge remote-tracking branch 'origin/master' into integration/dummy-project 2020-05-28 20:19:05 +02:00
Sebastian Rindom 98a72ca7b4 registers payment/fulfillment providers with correct names 2020-05-28 20:17:13 +02:00
Sebastian Rindom ef43fb2030 Makes all endpoints return objects (#71) 2020-05-28 20:15:17 +02:00
Sebastian Rindom 706ca8ac45 Makes ProductVariant operations go through ProductService (#68)
Ensures that we can reliably manage product variants and their relationship to products
2020-05-28 11:44:11 +02:00
Sebastian Rindom 022367a9d8 Adds store/regions endpoints; fixes payment provider service 2020-05-27 20:03:21 +02:00
Sebastian Rindom 0bcff435a3 Updates API endpoints to match new product-to-variant structure 2020-05-26 22:02:40 +02:00
Sebastian Rindom 3183efa94f Makes product variant operations go through product service 2020-05-26 18:21:54 +02:00
Sebastian Rindom 96377df101 updates tests 2020-05-25 14:06:10 +02:00
Sebastian Rindom 36c12fa66d init 2020-05-16 11:01:29 +02:00
Oliver Windall Juhl 420c1d8cdb Adds ProductVariant endpoints (#59)
Adds endpoints for product variants with tests.

Closes #58
2020-05-14 11:05:26 +02:00
Oliver Windall Juhl 809133fa2a Closes #53
Use email for reset password and reset password token
2020-05-11 13:55:44 +02:00
Oliver Windall Juhl 8255a839f6 Adds OrderService and /orders endpoints
Adds OrderService

Adds endpoints for orders - both store and admin
2020-05-11 13:54:09 +02:00
Sebastian Rindom 6a78df1ecd Adds endpoints to manage customers (#54) 2020-05-07 13:31:38 +02:00
Sebastian Rindom 516bc7675d Adds Middleware API (#40)
* Adds test project

* Adds e2e for end-2-end tests

* Update gitignore

* Update loaders

* Creates test project

* v0.1.27

* Upgrade

* dependency fixes

* Load project plugins in the plugin loader

* Issue with instanceof

* Fixes versioning issues

* Adds medusa middleware api

* Adds documentation

* Fixes tests
2020-05-01 13:33:03 +02:00
Oliver Windall Juhl a53822d298 Adds admin endpoints / routes for user (#36)
Adds all endpoints / routes for user operations
Tweaks in UserService
Adds update in UserService
Fixes old tests
2020-04-17 08:13:24 +02:00
Oliver Windall Juhl 20735de62d Adds admin discount routes / endpoints (#34) 2020-04-12 17:18:07 +02:00
Oliver Windall Juhl 42fdd14e42 Adds admin API endpoints for product operations (#32) 2020-04-08 21:18:03 +02:00
Sebastian Rindom b7557db9f9 Adds Regions (#33)
Regions are a collection of countries that share some common functionality, e.g., currency, available fulfillment and shipping providers and a taxrate. The store operator can have as many Regions as needed.
2020-04-08 09:44:41 +02:00
Sebastian Rindom ea4185eddd Creates ShippingProfileService & ShippingOptionService (#30)
Adds ShippingProfiles:

With Shipping Profiles store operators can group products together and select which shipping options can fulfill the products. The shipping profiles are region agnostic, but for products to be shippable to a given region the shipping profile must have a shipping option associated that ships to this region.

Adds Shipping Options:

Shipping Options represents a way that the customer can have their order shipped. The shipping option has a fulfillment provider associated to determine who fulfills orders with the given shipping method. If a fulfillment provider has multiple ways that they can ship a shipping option for each of the fulfillment provider's shipping options can be created.
2020-04-07 16:35:27 +02:00
Sebastian Rindom 808d0912e3 Load Services, Models and API from Core, Plugins and Project root (#23) 2020-03-30 16:52:20 +02:00
Sebastian Rindom 51aaf5105c Completes Cart Service and store/carts endpoints (#18)
Completes Cart Service to allow shopping and checkout flows.
2020-03-16 09:48:52 +01:00
Sebastian Rindom 245557ac2e POST /store/carts/:id to update email, addresses, dicsounts, region 2020-02-25 16:50:40 +01:00
Sebastian Rindom 30785ebb95 adds get cart and create cart endpoints; adds in 2020-02-25 15:56:37 +01:00
Sebastian Rindom 379aa8f83f Adds list products 2020-02-25 12:40:14 +01:00
Sebastian Rindom a912b81426 Refactor IdMap test helper to medusa-test-utils package 2020-01-30 09:54:12 +01:00
Sebastian Rindom 4ba63ccc0d create product endpoint 2020-01-21 16:27:02 +01:00
Sebastian Rindom ed472e9fba Creates test request helper for API endpoints
Separates common utils into the medusa-core-utils package.
Sets up a testing environment where mocked models/services/etc. can be placed in
__mocks__ folder within its corresponding directory. The mocks will
automatically be registered in a awilix container only used for testing.
2020-01-21 15:13:47 +01:00
Sebastian Rindom c7cf9b8061 Add core 2020-01-18 15:08:22 +01:00