temekuweb / meetup-portal-client

1 stars 1 forks source link

Mocking our transport for development #5

Open stratease opened 5 years ago

stratease commented 5 years ago

Any thoughts for using a standard to mock our endpoints during testing and development?

I've used Postman with success. They have a free version, but I'm not sure multiple users access on this. If we use this, it will give us an api key header and dedicated domain to use, which others can utilize up to a max requests per month.

We can have a dev .env configuration that will globally switch our transport layer to point to our mocked endpoint vs stage/prod servers.

stratease commented 5 years ago

@yepistemic @elog08 - anyone have thoughts here? My thinking is something that is plug-n-play easy to get a dev environment running.

Anything on your end @yepistemic that will simplify things here? I assume you won't have mocks, but perhaps just a location to reference your documented endpoints or planned endpoints...

ncko commented 5 years ago

Wow, I didn't know you could do that with postman. That is pretty nifty.

Right now I'm working on getting the first couple of commits finished for the backend. I'll ping you when I have them done and let you know where the documentation is.

elog08 commented 5 years ago

I've used this in the past: https://apiary.io/ We can run a local server based on the md file or use their cloud version:: https://help.apiary.io/tools/mock-server/