This is a Spring Boot application that's used with the "Building a CRM Application " series on the Carey Development website.
It's a microservice that handles requests related to customers (including contacts and accoutns) within an ecosystem.
Each branch within this repo is related to a distinct guide. The master branch holds the latest version of the application.
If you want to follow along with the series, just visit the URL that points to the careydevelopmentcrm tag.
Remember, all guides are in reverse chronological order so if you want to start from the beginning, you'll need to go to the last page.
Bad news: you can't just clone this source and run it right out of the box. You'll need to make some changes.
Here's a list of the properties you need to set in the application.properties
file:
jwt.secret
- the secret used to sign JWTsmongodb.carey-crm.connection
- the connection string to get to the MongoDB (in the format: mongodb://name:password@server:port)ecosystem-user-service.endpoint
- the base URL to the user servicecustomer-service.endpoint
- the base URL to the customer service.geo-service.endpoint
- the base URL to state and country lookups (currently private repo).product-service.endpoint
- the base URL to the product service.crm-service.endpoint
- the base URL to the CRM service.ip.whitelist
- comma-separated list of IP addresses allowed to access the service
If you're deploying to Kubernetes, you could also store those properties in an external config file as I describe here.
This service uses ecoystem-user-service to get user information. You'll need to deploy that service if you want to persist customer-related details.
The Carey Development CRM source uses this service.
This code is under the MIT License.