Application using Spring Boot, Angular and Tree-sitter
- JDK-17+
- maven 3.9.1+
In a command prompt mvn install:install-file -Dfile=${YOUR_PATH}/littleParserCode/code-parser-services/src/main/resources/java-tree-sitter-1.1.1.jar -DgroupId=ai.serenade -DartifactId=java-tree-sitter -Dversion=1.1.1 -Dpackaging=jar
Two servers must be started to use this application.
The first contains the service that calls the tree-sitter library.
In a command prompt
- cd ${YOUR_PATH}/littleParserCode/code-parser-services
- mvn clean spring-boot:run
The second contains the angular application In other command prompt
- cd ${YOUR_PATH}/littleParserCode/code-parser-ui
- mvn clean spring-boot:run
The ui: http://localhost:8090/parser-ui
The post Rest service: http://localhost:8080/parser/api/upload