Language: - :cn:
We are very happy that you want to contribute to our project, awesome!
Below are some guidelines to get you started. Feel free to reach out in case anything is unclear.
For scenarios that require interaction with the backend, the backend endpoint should be consistent with the frontend routing address. If there are different requests for one page, these should be under the same parent in the tree.
Here's an example for the Monitoring module:
Monitor > Topic:
Frontend routing:/#/monitor/topic
API:
- Search all topics: /monitor/topic
Monitor > Alert:
Frontend routing:/#/monitor/alert
API:
- Search all alerts: /monitor/alert
- Add alert: /monitor/alert/add
LF
ESLint
must be usedPlease adhere to the Alibaba-Java-Coding-Guidelines.
Visual Studio Code is recommended for development on the frontend. Since the frontend of the project depends on the backend service, you can either start the backend services locally or modify package.json proxyConfig
in package.json
to an address where the backend services are available.
Have a look at the separate frontend README for more details.
Self-explanatory...
$ cd KafkaCenter/KafkaCenter-Frontend
$ npm install
$ npm start
$ cd KafkaCenter/KafkaCenter-Frontend
$ npm run build
The compiled code will be posted to: ../KafkaCenter-Core/src/main/resources/static
Self-explanatory...
$ cd KafkaCenter
$ mvn clean package -Dmaven.test.skip=true
$ cd KafkaCenter\KafkaCenter-Core\target
$ java -jar KafkaCenter-Core-0.0.1-SNAPSHOT.jar
$ cd KafkaCenter
$ mvn clean package -Dmaven.test.skip=true
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )