MCPcopy Index your code
hub / github.com/MockyAbstract/Mocky

github.com/MockyAbstract/Mocky @V3.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release V3.1.0 ↗ · + Follow
61 symbols 174 edges 65 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mocky.io Lockdown Edition (2020)

Release CI Development CI GitHub release (latest by date)

What is mocky?

Mocky is a simple app which allows to generate custom HTTP responses. It's helpful when you have to request a build-in-progress WS, when you want to mock the backend response in a singleapp, or when you want to test your WS client.

Don't wait for the backend to be ready, generate custom API responses with Mocky and start working on your application straightaway

Mocky is a free and unlimited online service, accessible on https://www.mocky.io. Read the FAQ for more information about allowed usage.

Everything is done to provide the best service quality, but I don't guarantee the sustainability or the stability of the application.

How to host my own Mocky instance

Work in progress. Please come back in a few days !

Architecture

API

Mocky API is written in Scala with the HTTP4s server. Mocks are stored into PostgreSQL database with Doobie.

See the server/README.md for more information about how to build/run the API (WIP).

Frontend

React/Redux application written in typescript.

See the client/README.md for more information about how to build/run the frontend.

Hosting

Mocky is currently hosted on Clever-Cloud.

Clever Cloud helps companies and IT professionals to achiveve software delivery faster, reduce their feedback loop, focus on their core value and stop worrying about their hosting infrastructure by providing a solution for application sustainability.

Contributors

License

Mocky is licensed under the Apache License, Version 2.0 (the “License”); you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Extension points exported contracts — how you extend this code

NewMockFormValues (Interface)
(no doc)
client/src/modules/designer/form/types.ts
OtherProps (Interface)
(no doc)
client/src/modules/designer/form/types.ts
NewMockFormProps (Interface)
(no doc)
client/src/modules/designer/form/types.ts
DeleteMockParams (Interface)
(no doc)
client/src/modules/manager/types.ts
StatusOption (Interface)
(no doc)
client/src/components/SelectHttpStatusCode/models.ts

Core symbols most depended-on inside this repo

registerValidSW
called by 2
client/src/serviceWorker.ts
checkValidServiceWorker
called by 1
client/src/serviceWorker.ts
customStyles
called by 1
client/src/components/SelectHttpStatusCode/SelectHttpStatusCode.tsx
render
called by 1
client/src/components/ErrorBoundary/ErrorBoundary.tsx
customStyles
called by 1
client/src/components/SelectContentType/SelectContentType.tsx
selectMockById
called by 1
client/src/redux/mocks/slice.ts
register
called by 0
client/src/serviceWorker.ts
unregister
called by 0
client/src/serviceWorker.ts

Shape

Function 43
Interface 13
Method 3
Class 2

Languages

TypeScript100%

Modules by API surface

client/src/modules/designer/form/NewMockFormView.tsx6 symbols
client/src/components/ErrorBoundary/ErrorBoundary.tsx5 symbols
client/src/services/HTTP.ts4 symbols
client/src/serviceWorker.ts4 symbols
client/src/redux/mocks/slice.ts4 symbols
client/src/components/SelectHttpStatusCode/SelectHttpStatusCode.tsx4 symbols
client/src/services/MockyAPI/types.ts3 symbols
client/src/services/MockyAPI/MockyAPI.ts3 symbols
client/src/services/Analytics/GA.ts3 symbols
client/src/modules/designer/form/types.ts3 symbols
client/src/services/MockyAPI/MockAPITransformer.ts2 symbols
client/src/redux/mocks/types.ts2 symbols

Datastores touched

mockyDatabase · 1 repos

For agents

$ claude mcp add Mocky \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page