... is a fictitious, rudimentary and simplistic sales prospecting system. We are building it during a series of Domain Driven Design, CQRS and Eventsourcing exploration sessions at Vancouver's "DDD/CQRS/ES Practitioners' Meetup".
https://www.meetup.com/DDD-CQRS-ES/events/233590206/
https://www.meetup.com/DDD-CQRS-ES/events/233590334/
https://www.meetup.com/DDD-CQRS-ES/events/233590625/
- NodeJS v4.5+
- GoES to store events
- install using
npm install goes-install
(Only supported for Windows and Linux for now)
- install using
- windows-build-tools npm package installed
npm install --global windows-build-tools
(IMPORTANT: must be run as Administrator)
This step can be skipped if you can already compile native nodejs modules on your computer.
- build-essential distribution package installed
sudo apt-get install build-essential
TODO
npm install
Windows
start .deps\goes\bin\goes.exe --db=c:\temp\salesfarce-events
Linux
.deps/goes/bin/goes --db=/tmp/salesfarce-events &
npm start
HTTP API is running at http://localhost:8080/
Note: Linux user must adjust the goesStoragePath in config/local.json to /tmp/salesfarce-events before starting the app
npm test
SalesLeadReceived:
receivedAtDate: 09/22/2016
salesLeadID: 1234
email: [email protected]
firstname: Joe
lastname: Miller
company: Invalid Yaml, Inc.
phone: 222-222-3333
salesrep: [email protected]
SalesLeadContacted:
salesLeadID: 1234
contactDate: 10/21/2016
salesrep: [email protected]
notes:
SalesLeadResponded:
salesLeadID: 1234
respondedAtDate: 10/26/2016
interested: yes
notes:
ProductSold:
customerId: 1234
soldAtDate: 11/23/2016
salesrep: [email protected]
productId: 899
quantity: 120