Geek-Collectors-Network / geek-collectors-network

0 stars 2 forks source link

Re-enable webpack-dev-server with api proxy #191

Closed FoRVaiS closed 5 months ago

FoRVaiS commented 5 months ago

Summary

Testing

  1. Spin up resources: make res
  2. Run both apps:
    • In one terminal, run npm run -w apps/frontend start:dev
    • In another terminal, run npm run -w apps/api start:dev
    • Sorry, there's not an easier way to launch two applications that use --watch
  3. Navigate to the landing page: http://localhost:8080/
  4. Make any text changes to LandingPage.tsx and observe hot reloading.
  5. Login with any account: http://localhost:8080/login
    • User: admin@email.com
    • Password: admin
  6. Check the profile section and verify you see profile details (for example DoB): http://localhost:8080/profile/edit
FoRVaiS commented 5 months ago

@rhysmah Are you 100% sure you checked-out the branch?

At the very least, you should be able to run npm run -w apps/frontend build since it's clearly defined in the frontend's package.json... https://github.com/Geek-Collectors-Network/geek-collectors-network/pull/191/files#diff-7a5fd52fecdd7d9318307d2bc348b2f3c7977dbec5fa49a9bacaaaf632737cf6R34