A project in collaboration with Faculty of Nursing, University of Calgary
This is a project in collaboration with Nursing 654 students, Faculty of Nursing, University of Calgary. It aims to build a prototype that can help RNs manage an easy to use web portal, using which they can create surveys/questionnaires and educational articles for their clients or for general public without any technical skills.
The prototype is deployed on the cloud and is accessible at https://intellirn.ml.
backend
- contains Spring Boot backend source codedocuments
- various documentation on the projectfrontend
- contains React frontend source codesql
- contains MySQL database setup script
- 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
Follow the steps to run the application on your local machine
-
Clone the repository to your local 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 script db_setup.sql on your MySQL server using
root
. This script will create a schemaintellirndb
, a userintellirnapp
with passwordintellirnpassword
, create all necessary tables and load them with some dummy data. -
To run the backend
-
On your machine, navigate to the directory backend. Running the below command will get the backend server running.
$ mvn clean spring-boot:run
-
To test all the implemented API endpoints, launch Postman on your local machine.
-
Import this file into the Postman. You can then run all the API endpoints in the imported folder IntelliRN one by one.
-
At any given time, you can also verify the database tables using the credentials mentioned in step #4.
-
-
To run the frontend
- On your machine, navigate to the directory frontend. Running the below command will get the react server running and launch your default browser.
$ npm install $ npm start
- On your machine, navigate to the directory frontend. Running the below command will get the react server running and launch your default browser.