-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from HiEventsDev/frontend-ssr
init ssr integration
- Loading branch information
Showing
59 changed files
with
2,947 additions
and
1,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php return array ( | ||
'laravel/sanctum' => | ||
array ( | ||
'providers' => | ||
array ( | ||
0 => 'Laravel\\Sanctum\\SanctumServiceProvider', | ||
), | ||
), | ||
'laravel/tinker' => | ||
array ( | ||
'providers' => | ||
array ( | ||
0 => 'Laravel\\Tinker\\TinkerServiceProvider', | ||
), | ||
), | ||
'maatwebsite/excel' => | ||
array ( | ||
'providers' => | ||
array ( | ||
0 => 'Maatwebsite\\Excel\\ExcelServiceProvider', | ||
), | ||
'aliases' => | ||
array ( | ||
'Excel' => 'Maatwebsite\\Excel\\Facades\\Excel', | ||
), | ||
), | ||
'nesbot/carbon' => | ||
array ( | ||
'providers' => | ||
array ( | ||
0 => 'Carbon\\Laravel\\ServiceProvider', | ||
), | ||
), | ||
'nunomaduro/termwind' => | ||
array ( | ||
'providers' => | ||
array ( | ||
0 => 'Termwind\\Laravel\\TermwindServiceProvider', | ||
), | ||
), | ||
'php-open-source-saver/jwt-auth' => | ||
array ( | ||
'aliases' => | ||
array ( | ||
'JWTAuth' => 'PHPOpenSourceSaver\\JWTAuth\\Facades\\JWTAuth', | ||
'JWTFactory' => 'PHPOpenSourceSaver\\JWTAuth\\Facades\\JWTFactory', | ||
), | ||
'providers' => | ||
array ( | ||
0 => 'PHPOpenSourceSaver\\JWTAuth\\Providers\\LaravelServiceProvider', | ||
), | ||
), | ||
); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
VITE_APP_NAME="Hi.Events" | ||
VITE_API_URL=https://demo.hi.events/api | ||
|
||
# These are usually the same when not in a development environment | ||
VITE_API_URL_CLIENT=https://localhost:1234 | ||
VITE_API_URL_SERVER=https://localhost:1234 | ||
|
||
VITE_APP_FRONTEND_URL=http://localhost:5678 | ||
|
||
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_51Ofu1CJKnXOyGeQuDPUHiZcJxZozRuERiv4vQRBtCscwTbxOL574cxUjAoNRL2YLCumgC5160pl6kvTIiAc9mOeM0058KAWQ55 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ RUN yarn install | |
|
||
COPY . . | ||
|
||
RUN yarn build | ||
RUN yarn build:csr | ||
|
||
FROM nginx:alpine | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ COPY . ./ | |
|
||
EXPOSE 5678 | ||
|
||
CMD ["yarn", "dev"] | ||
CMD ["yarn", "dev:csr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM node:alpine as build-stage | ||
|
||
WORKDIR /app | ||
|
||
RUN apk add --no-cache yarn | ||
|
||
COPY package.json yarn.lock ./ | ||
|
||
RUN yarn install | ||
|
||
COPY . . | ||
|
||
RUN yarn build:ssr | ||
|
||
EXPOSE 5678 | ||
|
||
CMD ["yarn", "start:ssr"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json ./yarn.lock ./ | ||
|
||
RUN yarn install | ||
|
||
COPY . ./ | ||
|
||
EXPOSE 5678 | ||
|
||
CMD ["yarn", "dev:ssr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.