This repository contains the source code for the PetPulse application, which includes a React-based frontend, a Spring Boot backend, and additional programs for machine learning and chatbot functionalities.
Folder: Frontend
- Contains the React application code.
- Key Components:
- Scripts Folder:
- Subfolders for each page, including the respective components, styling files, and additional images.
- Subfolders for reusable components like animations and navbars.
- App.tsx:
- The main entry point for the server start, containing the route logic for navigating the application.
- Scripts Folder:
Folder: Backend
- Contains the main Spring Boot application for PetPulse.
- Key Components:
- Models:
- Entities: Contains the entity classes.
- Data Transfer Objects (DTOs): Contains the data transfer objects.
- Controllers: Contains the controller classes.
- Services: Contains the service classes.
- Repositories: Contains the repository interfaces.
- Exceptions: Defines custom exceptions used in the application.
- Config: Contains necessary configuration files.
- Models:
Folder: Additionally programs
- Chatbot Training Files: Contains files necessary for training the chatbot.
- TensorFlow Model: Contains the Python project used to run the TensorFlow model for image recognition.
- Node.js and npm for the frontend.
- Java and Maven for the backend.
- Python and necessary libraries for additional programs.
- Navigate to the
Frontenddirectory:cd Frontend - Install the dependencies:
npm install
- Start the development server:
npm start
- Navigate to the
Backenddirectory:cd Backend - Build the project using Maven:
mvn clean install
- Run the Spring Boot application:
mvn spring-boot:run