Commit Graph

8 Commits

Author SHA1 Message Date
Sebastian Rindom
f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
Sebastian Rindom
16d3c88c4f fix: update password hashing 2020-08-30 16:04:57 +02:00
Sebastian Rindom
f56bd6ab08 Updates hashing method 2020-08-30 09:59:46 +02:00
Sebastian Rindom
6a78df1ecd Adds endpoints to manage customers (#54) 2020-05-07 13:31:38 +02:00
Oliver Windall Juhl
e3cdde3c9e Fixes according to issue #21 (#35) 2020-04-14 21:44:05 +02:00
Sebastian Rindom
edce88c34b Moves Medusa interfaces defines model schemas for Customer, Cart, Order 2020-01-30 09:38:08 +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