Skip to content

Commit

Permalink
Remove mock-api
Browse files Browse the repository at this point in the history
This is no longer used
  • Loading branch information
feedmypixel committed Aug 20, 2024
1 parent 4e90fa5 commit 86a13e7
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 473 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
Dockerfile
mock-api
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Portal Frontend for Core Delivery Platform (CDP)
- [Debugging nock](#debugging-nock)
- [Code Quality](#code-quality)
- [Code formatting](#code-formatting)
- [Local JSON API](#local-json-api)
- [Creating icons](#creating-icons)
- [Production](#production)
- [Npm scripts](#npm-scripts)
Expand Down Expand Up @@ -191,14 +190,6 @@ To format code:
npm run format
```

### Local JSON API

Whilst the APIs are being developed this app uses a local JSON mock API. To start this locally run:

```bash
npm run mockApi
```

### Creating icons

You can see examples of the icons used throughout the application in [src/server/common/components/icons](src/server/common/components/icons). To create icons:
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module.exports = {
'<rootDir>/.public',
'<rootDir>/src/__fixtures__',
'<rootDir>/test-helpers',
'<rootDir>/mock-api',
'index.js'
],
coverageDirectory: '<rootDir>/coverage'
Expand Down
11 changes: 0 additions & 11 deletions mock-api/api.js

This file was deleted.

212 changes: 0 additions & 212 deletions mock-api/deployments/index.js

This file was deleted.

40 changes: 0 additions & 40 deletions mock-api/github-users/index.js

This file was deleted.

51 changes: 0 additions & 51 deletions mock-api/index.js

This file was deleted.

24 changes: 0 additions & 24 deletions mock-api/teams/index.js

This file was deleted.

Loading

0 comments on commit 86a13e7

Please sign in to comment.