The Management System is designed to help
- Java Development Kit (JDK) 11 or higher
- PostgreSQL Database
- Maven 3.6.0 or higher
- An IDE (e.g., IntelliJ IDEA, VSCode, Eclipse)
-
Clone the Repository
git clone https://github.com/your-repo/management-system.git cd management-system
-
Configure the Database
- Ensure PostgreSQL is running.
- Create a database named
management
. - Update
src/main/resources/application.properties
with your database credentials.
-
Build the Project
./mvnw clean install
-
Run the Application
./mvnw spring-boot:run
-
Access the Application
- Swagger UI:
http://localhost:8080/swagger-ui.html
- Swagger UI:
-
Run Unit Tests
mvn test
-
Check Test Coverage
- Ensure all unit tests pass and check the coverage reports.
The API documentation is available through Swagger UI at http://localhost:8080/swagger-ui.html
.
Here are some sample JSON payloads for the API endpoints:
- Create a New Lead
{ "name": "Moonlight Bistro", "status": "Pending", "contacts": [ { "name": "Emily Brown", "role": "Assistant Manager", "email": "[email protected]", "phone": "1122334455" } ], "interactions": [ { "details": "Discussed catering options for an upcoming event", "interactionDate": "2024-12-28T15:45:00" } ], "callPlan": { "frequency": 10, "notes": "Follow-up every 10 days to finalize the contract" } }
To help you understand the setup process and major features of this application, we have created a video demonstration.
- Code setup process
- Application running
- Major features demonstration
- Sample inputs/outputs
The video is available in MP4 format at the following link: Video Demonstration
Feel free to customize this documentation according to your project specifics. If you need more details or assistance, let me know!