amplify-category-api
amplify-category-api copied to clipboard
mock rest api locally
Is your feature request related to a problem? Please describe. I want to be able to run both the frontend and backend locally, control with environment variables when to produce/consume mock data and have the urls map to the right environment. I don't use GraphQL!
Describe the solution you'd like amplify serve and mock -> frontend on localhost:3000 with env variables of mock && backend on localhost:3001 with env variables of mock
Describe alternatives you've considered writing my own bash script passing environment variables in to every backend function