A web application for managing Veterinary Clinic
-
Manage animals profiles, along with their owners
-
Manage user profiles like administrators, health technicians, attendants, teachers, and students
-
Each user having different access rights
-
Animal request workflow based on granted permissions
backend
- contains back end source codedocs
- various documentation on the projectfrontend
- contains front end source codeimages
- contains images for README filesql
- contains MySQL database scripts
- JDK version 11.0.11 or above
- Maven version 3.6.3 or above
- MySQL server version 8.0.26 or above
- Node version 16.13.1 or above
-
Clone the repository on your machine
-
Start the MySQL server on your local machine. If you are accessing the MySQL server over a network, edit the property
spring.datasource.url
in the file application.properties and replacelocalhost
with the server IP address. -
Connect to your MySQL server using an admin user like
root
. -
Run the below scripts on the MySQL server in the given order using
root
. These scripts will create a schemavetdb
, a uservetapp
with passwordvetpassword
, create all necessary tables and load them with some dummy data. -
To run the backend, navigate to the directory backend. Running the below command will get the backend server running.
$ mvn clean spring-boot:run
-
To run the frontend, navigate to the directory frontend. Running the below command will get the react server running and launch your default browser.
$ npm install $ npm start
-
Once you are done with the application, you may remove all the data from your MySQL server using 10_purge.sql.