Skip to content

Microservice that handles customer/account related tasks for the Carey Development ecosystem.

License

Notifications You must be signed in to change notification settings

careydevelopment/ecosystem-customer-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carey Development Logo

Carey Development Ecosystem Customer Service

license

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.

Configuration

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 JWTs
  • mongodb.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 service
  • customer-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.

Dependencies

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 UI

The Carey Development CRM source uses this service.

License

This code is under the MIT License.

About

Microservice that handles customer/account related tasks for the Carey Development ecosystem.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published