aerogear / datasync-starter

GraphQL Low Code React and Node.js DataSync Application template
http://graphback.dev
MIT License
32 stars 38 forks source link

Enable dockerized config #349

Closed wtrocki closed 4 years ago

wtrocki commented 4 years ago

Motivation #346

Verification

Run server for all of the flavours

Verification For Local dev

  1. cd client && yarn dev
  2. Verify that localhost server is being used and client connects to server

Verification For Local prod dev

  1. cd client && yarn start
  2. Verify that localhost server is being used and client connects to server

Verification for the generic image build

  1. Go to the server/config/config.ts and change port to any other value We are doing it to make sure that we not using default port that is hardcoded in the app.
  2. Execute yarn prepare:client
  3. Restart server and use server side link to
  4. Verify that app is calling the same server port rather than hardcoded one
wtrocki commented 4 years ago

Edit still not working. We need to use a different environment variables.