Cleanup
This commit is contained in:
parent
4dce582b64
commit
d9768bce30
88 changed files with 23 additions and 15 deletions
|
@ -1 +1,2 @@
|
||||||
|
# Kafka REST API
|
||||||
REACT_APP_API_URL=http://localhost:3004
|
REACT_APP_API_URL=http://localhost:3004
|
37
README.md
37
README.md
|
@ -1,31 +1,38 @@
|
||||||
# kafka-ui
|
# Kafka-UI
|
||||||
UI for Apache Kafka management
|
UI for Apache Kafka management
|
||||||
|
|
||||||
## Frontend
|
## Table of contents
|
||||||
|
- [Getting started](#getting-started)
|
||||||
|
- [Links](#links)
|
||||||
|
|
||||||
### Env variables
|
## Getting started
|
||||||
Pls update `./frontend/.env` file
|
|
||||||
|
Install packages
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
Set correct URL to your API server in `.env`.
|
||||||
|
|
||||||
```
|
```
|
||||||
# API url
|
# 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 run mock
|
||||||
npm install
|
```
|
||||||
|
|
||||||
|
Start application
|
||||||
|
|
||||||
|
```
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## API
|
## Links
|
||||||
|
|
||||||
```
|
* [JSON Server] - Fake REST API(https://github.com/typicode/json-server)
|
||||||
cd ./frontend
|
|
||||||
npm install
|
|
||||||
|
|
||||||
npm run dev
|
|
||||||
```
|
|
||||||
|
|
0
frontend/package-lock.json → package-lock.json
generated
0
frontend/package-lock.json → package-lock.json
generated
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Loading…
Add table
Reference in a new issue