-
Clone the project
https://github.com/QTimort/drug-record-application-finder.git
-
Copy
./font/.env.example
to./font/.env
To install Docker Compose follow the instructions at https://docs.docker.com/compose/install/
-
Open a terminal and run the command below
docker-compose up
-
Wait a few moment for the service to build and start.
-
Java SDK 17 and Maven 3 or above must be installed.
- To install Java 17 go to https://adoptium.net/temurin/releases/?version=17.
- To install Maven 3 go to https://maven.apache.org/download.cgi
-
Open a terminal and run the following command to create a clean build:
- Without Test
mvn clean install -DskipTests "-Dskip.front.test=true"
- Or with Test
mvn clean install
-
Start the back-end:
mvn spring-boot:run -f ./back/pom.xml
-
Start the front-end:
mvn frontend:npm@npm-run-preview -pl front
Once you are all set:
- The application should be available at http://localhost:4284/
- The backend is served at http://localhost:8080/
- API documentation is available at http://localhost:8080/api/v1/swagger-ui/index.html