disintegrate
Disintegrate Rust library
File Explorer
Download Latest Version (.zip)- ci.yml
- deploy-docs.yml
- test-docs.yml
- dependabot.yml
- decision.rs
- domain_id.rs
- event.rs
- event_store.rs
- identifier.rs
- lib.rs
- listener.rs
- state.rs
- state_store.rs
- stream_query.rs
- testing.rs
- utils.rs
- Cargo.toml
- LICENSE
- README.md
- stream.rs
- event.rs
- lib.rs
- state_query.rs
- symbol.rs
- event.rs
- state_query.rs
- Cargo.toml
- fn_event_store_begin_epoch.sql
- fn_event_store_current_epoch.sql
- idx_event_type.sql
- seq_event_event_id.sql
- table_event.sql
- append.rs
- query.rs
- tests.rs
- fn_notify_event_listener.sql
- table_event_listener.sql
- trigger_notify_event_listener.sql
- id_indexer.rs
- tests.rs
- table_snapshot.sql
- tests.rs
- error.rs
- event_store.rs
- lib.rs
- listener.rs
- migrator.rs
- snapshotter.rs
- Cargo.toml
- avro.rs
- json.rs
- messagepack.rs
- prost.rs
- protobuf.rs
- lib.rs
- serde.rs
- Cargo.toml
- add_new_feature.md
- cqrs_and_event_sourcing.md
- developer_journey.md
- event_storming.md
- handle_concurrency_conflicts.md
- decision.md
- event_listeners.md
- faq.md
- intro.md
- postgres.md
- stream_query.md
- index.js
- styles.module.css
- custom.css
- docusaurus-social-card.jpg
- docusaurus.png
- favicon.ico
- logo.svg
- undraw_docusaurus_mountain.svg
- undraw_docusaurus_react.svg
- undraw_docusaurus_tree.svg
- .nojekyll
- .gitignore
- babel.config.js
- docusaurus.config.js
- flake.lock
- flake.nix
- package.json
- README.md
- sidebars.js
- yarn.lock
- domain.rs
- main.rs
- validation_query_test.js
- .env
- Cargo.toml
- cart.rs
- event.rs
- main.rs
- .env
- Cargo.toml
- api.proto
- event.proto
- commands.rs
- queries.rs
- course.rs
- student.rs
- subscription.rs
- unsubscription.rs
- application.rs
- domain.rs
- grpc.rs
- lib.rs
- main.rs
- read_model.rs
- serde.rs
- course_api_insomnia_collection.json
- subscriptions_concurrency_test.js
- .env
- build.rs
- Cargo.toml
- README.md
- .env
- .gitignore
- Cargo.lock
- Cargo.toml
- CONTRIBUTING.md
- docker-compose.yml
- LICENSE
- README.md
- rustfmt.toml
# Installation Guide
1. Get the code
git clone https://github.com/disintegrate-es/disintegrate
Downloads the entire project code from GitHub to your computer.
cd disintegrate
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
1. Add `disintegrate` and `disintegrate-postgres` as a dependencies in your `Cargo.toml` file:
Type this command into your terminal and run it.
* Disintegrate provides several features that you can enable based on your project requirements. You can include them in your `Cargo.toml` file as follows:
Type this command into your terminal and run it.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
