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

Data API mock receptor #156

Open
apitodigital opened this issue Dec 20, 2022 · 0 comments
Open

Data API mock receptor #156

apitodigital opened this issue Dec 20, 2022 · 0 comments

Comments

@apitodigital
Copy link

Anyone know an Atlas Data API Mock?
I had hard time finding one, we can create an adapter using this library as a base?

In my knowledge looks very easy to do that, just create a HTTP interceptor to run the operations using this package (mongo-mock), the responses are very similar... there is something that i'm forgetting about?

Example of Atlas DATA API Mock Request

  await client.post('/action/find', {
    "collection": "collection",
    "database": "database",
    "dataSource": "project",
    "projection": {}
  })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant