Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock server removal #157

Merged
merged 3 commits into from
Jan 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions kafka-ui-react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,12 @@ Set correct URL to your API server in `.env`.
```
REACT_APP_API_URL=http://api.your-kafka-rest-api.com:3004
```
If you plan to use full fake REST API you have to update `.env`.
```
REACT_APP_API_URL=http://localhost:3004
```
Start JSON Server if you prefer to use default full fake REST API.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If mock API is deleted, lines from 23 to 26 don't make sense.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please remove link to JSON server

- * [JSON Server](https://github.com/typicode/json-server) - Fake REST API.

```
npm run mock
```
Start application
```
npm start
```

## Links

* [JSON Server](https://github.com/typicode/json-server) - Fake REST API.
* [Bulma](https://bulma.io/documentation/) - free, open source CSS framework based on Flexbox
* [Create React App](https://github.com/facebook/create-react-app)
47 changes: 0 additions & 47 deletions kafka-ui-react-app/mock/index.js

This file was deleted.

40 changes: 0 additions & 40 deletions kafka-ui-react-app/mock/payload/brokerMetrics.json

This file was deleted.

18 changes: 0 additions & 18 deletions kafka-ui-react-app/mock/payload/brokers.json

This file was deleted.

24 changes: 0 additions & 24 deletions kafka-ui-react-app/mock/payload/clusters.json

This file was deleted.

29 changes: 0 additions & 29 deletions kafka-ui-react-app/mock/payload/consumerGroupDetails.json

This file was deleted.

39 changes: 0 additions & 39 deletions kafka-ui-react-app/mock/payload/consumerGroups.json

This file was deleted.

132 changes: 0 additions & 132 deletions kafka-ui-react-app/mock/payload/topicConfigs.json

This file was deleted.

10 changes: 0 additions & 10 deletions kafka-ui-react-app/mock/payload/topicDetails.json

This file was deleted.

Loading