Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sibelius/mongodb-transactions
Mongodb Transactions using Two Phase commits
https://github.com/sibelius/mongodb-transactions
Last synced: 24 days ago
JSON representation
Mongodb Transactions using Two Phase commits
- Host: GitHub
- URL: https://github.com/sibelius/mongodb-transactions
- Owner: sibelius
- Created: 2021-04-14T11:56:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-14T11:59:29.000Z (over 3 years ago)
- Last Synced: 2024-10-19T19:54:15.709Z (28 days ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 14
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mongodb-transactions
Reimplementation of [Learn Mongodb the Hard Way](https://github.com/learn-mongodb-the-hardway/mongodb-books-data/tree/master/schema-book/transactions) using mongoose
Based on this article [Two phase commit vs Transactions](http://learnmongodbthehardway.com/article/transactions/)
## How to run the 2 phase commit
```
yarn twoPhase
```