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

Create SSR production server #178

Merged
merged 8 commits into from
Feb 22, 2024
Merged

Create SSR production server #178

merged 8 commits into from
Feb 22, 2024

Conversation

willybrauner
Copy link
Member

@willybrauner willybrauner commented Feb 8, 2024

  • server.js can be execute on production for SSR.

from app/front/ folder:

npm run build  &&  npm run start

from root folder:

npm run front:build  &&  npm run front:start
  • separate server.prod and server.dev
  • move src/server/index-server.tsx to src/index-server.tsx
  • move src/server/helpers to src/libs/core
  • rename src/index.tsx to src/index-client.tsx

@willybrauner willybrauner force-pushed the create-ssr-production-server branch from e291ed0 to 15984c7 Compare February 8, 2024 13:16
@willybrauner willybrauner force-pushed the create-ssr-production-server branch from 13cc1d2 to 8358859 Compare February 21, 2024 17:16
@willybrauner willybrauner force-pushed the create-ssr-production-server branch from 8358859 to 2f0fbd2 Compare February 21, 2024 17:18
@willybrauner willybrauner force-pushed the create-ssr-production-server branch from 273431d to f40551b Compare February 22, 2024 14:00
@willybrauner willybrauner merged commit 4dda7bb into v4 Feb 22, 2024
1 check passed
@willybrauner willybrauner mentioned this pull request Feb 22, 2024
Merged
9 tasks
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

Successfully merging this pull request may close these issues.

1 participant