https://github.com/careydevelopment/ecosystem-customer-service
Microservice that handles customer/account related tasks for the Carey Development ecosystem.
https://github.com/careydevelopment/ecosystem-customer-service
customer java jwt mongodb spring-boot
Last synced: 3 months ago
JSON representation
Microservice that handles customer/account related tasks for the Carey Development ecosystem.
- Host: GitHub
- URL: https://github.com/careydevelopment/ecosystem-customer-service
- Owner: careydevelopment
- License: mit
- Created: 2021-01-28T14:29:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T22:46:39.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T19:05:57.733Z (6 months ago)
- Topics: customer, java, jwt, mongodb, spring-boot
- Language: Java
- Homepage:
- Size: 176 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Carey Development Ecosystem Customer Service
 
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 serviceIf 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](https://github.com/careydevelopment/ecosystem-customer-service/blob/master/LICENSE).