This commit is contained in:
Oleg Shuralev 2020-01-19 22:44:10 +03:00
parent 4dce582b64
commit d9768bce30
No known key found for this signature in database
GPG key ID: 0459DF80E1A2FD1B
88 changed files with 23 additions and 15 deletions

View file

@ -1 +1,2 @@
# Kafka REST API
REACT_APP_API_URL=http://localhost:3004

View file

@ -1,31 +1,38 @@
# kafka-ui
# Kafka-UI
UI for Apache Kafka management
## Frontend
## Table of contents
- [Getting started](#getting-started)
- [Links](#links)
### Env variables
Pls update `./frontend/.env` file
## Getting started
Install packages
```
npm install
```
Set correct URL to your API server in `.env`.
```
# API url
REACT_APP_API_URL=http://localhost:3004
REACT_APP_API_URL=http://api.your-kafka-rest-api.com:3004
```
### Start App
Start JSON Server if you prefer to use default full fake REST API.
```
cd ./frontend
npm install
npm run mock
```
Start application
```
npm start
```
## API
## Links
```
cd ./frontend
npm install
npm run dev
```
* [JSON Server] - Fake REST API(https://github.com/typicode/json-server)

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB