This project is a customer management system that consists of a back-end application built with Spring Boot and a front-end application built with React. The back-end application provides RESTful web services that allow users to manage customer data, such as phone number and country, while the front-end application provides a user-friendly interface to interact with the back-end application.
The back-end application is responsible for loading the database and running filtration based on the state of the phone number and countryPhoneRegex. It leverages the following components:
To run the back-end application, follow these steps:
- Load the file on IntelliJ IDE or any preferred IDE.
- Run the application.
To run the back-end application using Docker, follow these steps:
- Build the Docker image:
docker build -t 8090:8090 customer-sql-springboot:v1
. - Run the Docker container:
docker run -p 8090:8090 customer-sql-springboot:v1
.
The front-end application is responsible for providing a user-friendly interface to interact with the back-end application. It was built using React and communicates with the back-end application using RESTful API calls.
To run the front-end application, follow these steps:
- Install the dependencies:
npm install
. - Start the development server:
npm run start
. - Open http://localhost:3000 to view the application in the browser.
To run the front-end application using Docker, follow these steps:
- Build the Docker image:
docker build -t 3000:3000 springbootreactfrontend
. - Run the Docker container:
docker run -p 3000:3000 springbootreactfrontend
.
Enjoy using the Customer Springboot Application!