Skip to content

Commit

Permalink
Merge pull request #157 from provectus/i137/mock_server
Browse files Browse the repository at this point in the history
Mock server removal
  • Loading branch information
Guzel738 committed Jan 20, 2021
2 parents c27dfb8 + 9f13883 commit cc7a933
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 1,319 deletions.
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.
```
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

0 comments on commit cc7a933

Please sign in to comment.