Giter Club home page Giter Club logo

mattvb91 / laravel-next-serverless Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 3.71 MB

NextJs with Laravel API Lambda template deployed through github actions with Storybook deployed to github pages: mattvb91.github.io/laravel-next-serverless/

Home Page: https://d33xhxovqf36ox.cloudfront.net/

Shell 1.59% PHP 72.64% Dockerfile 3.73% JavaScript 2.84% CSS 3.40% TypeScript 15.79%
cloudfront cypress lambda laravel nextjs serverless styled-components

laravel-next-serverless's People

Contributors

dependabot[bot] avatar mattvb91 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-next-serverless's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Detected empty commit - aborting git push

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/express to v4.17.21
  • Update dependency bref/laravel-bridge to v1.2.3
  • Update dependency itsgoingd/clockwork to v5.1.12
  • Update dependency php-open-source-saver/jwt-auth to v1.4.2
  • Update dependency styled-components to v5.3.11 (styled-components, @types/styled-components)
  • Update dependency @types/node to v16.18.73
  • Update dependency bref/bref to v1.7.39
  • Update dependency fakerphp/faker to v1.23.1
  • Update dependency laravel/framework to v9.52.16
  • Update dependency laravel/tinker to v2.9.0
  • Update dependency mockery/mockery to v1.6.7
  • Update dependency nunomaduro/collision to v6.4.0
  • Update dependency phpunit/phpunit to v9.6.16
  • Update dependency spatie/laravel-ignition to v1.6.4
  • Update dependency typescript to v4.9.5
  • Update storybook monorepo to v6.5.16 (@storybook/addon-actions, @storybook/addon-docs, @storybook/addon-essentials, @storybook/addon-links, @storybook/react)
  • Update dependency bref/bref to v2
  • Update dependency bref/laravel-bridge to v2
  • Update dependency cypress to v13
  • Update dependency fruitcake/laravel-cors to v3
  • Update dependency laravel/framework to v10
  • Update dependency nunomaduro/collision to v8
  • Update dependency php-open-source-saver/jwt-auth to v2
  • Update dependency phpunit/phpunit to v10
  • Update dependency react-cookie to v7
  • Update dependency spatie/laravel-ignition to v2
  • Update dependency styled-components to v6
  • Update dependency typescript to v5
  • Update dependency ubuntu to v22
  • Update docker/login-action action to v3
  • Update react monorepo to v18 (major) (react, react-dom)
  • Update storybook monorepo to v7 (major) (@storybook/addon-actions, @storybook/addon-docs, @storybook/addon-essentials, @storybook/addon-links, @storybook/react)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • Update dependency guzzlehttp/guzzle to v7.4.5 [SECURITY]

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

composer
backend/composer.json
  • php ^8.1
  • bref/bref ^1.5
  • bref/laravel-bridge ^1.2
  • fruitcake/laravel-cors ^2.0
  • guzzlehttp/guzzle ^7.4.1
  • laravel/framework ^9.2
  • laravel/tinker ^2.7
  • php-open-source-saver/jwt-auth ^1.4
  • spatie/laravel-ignition ^1.0
  • fakerphp/faker ^1.19.0
  • itsgoingd/clockwork ^5.1.4
  • mockery/mockery ^1.4.2
  • nunomaduro/collision ^6.1
  • phpunit/phpunit ^9.5.13
docker-compose
docker-compose.test.yml
  • mysql 8.0
docker-compose.yml
  • mysql 8.0
dockerfile
docker/dev/cypress/Dockerfile
docker/dev/nextjs/Dockerfile
docker/dev/php-composer/Dockerfile
  • php 8.1-alpine
docker/dev/php/Dockerfile
  • php 8.1-alpine
github-actions
.github/workflows/ci_cd.yml
  • actions/checkout v2
  • dorny/paths-filter v2
  • VaultVulp/gp-docker-action 1.1.7
  • actions/checkout v2
  • dorny/paths-filter v2
  • VaultVulp/gp-docker-action 1.1.7
  • actions/checkout v2
  • dorny/paths-filter v2
  • VaultVulp/gp-docker-action 1.1.7
  • actions/checkout v2
  • dorny/paths-filter v2
  • VaultVulp/gp-docker-action 1.1.7
  • actions/checkout v2
  • dorny/paths-filter v2
  • docker/login-action v1
  • docker/login-action v1
  • actions/checkout v2
  • actions/upload-artifact v1
  • actions/checkout v2
  • dorny/paths-filter v2
  • JamesIves/github-pages-deploy-action 4.1.1
  • actions/checkout v2
  • docker/login-action v1
  • ubuntu 20.04
npm
cypress/package.json
  • cypress ^9.4.1
frontend/package.json
  • cookie ^0.4.2
  • http-proxy-middleware 2.0.3
  • next 12.0.8
  • react 17.0.2
  • react-cookie ^4.1.1
  • react-dom 17.0.2
  • react-style-reset ^1.3.2
  • react-styled-flexboxgrid ^3.2.1
  • styled-components ^5.3.3
  • @storybook/addon-actions ^6.4.18
  • @storybook/addon-docs ^6.4.19
  • @storybook/addon-essentials ^6.4.19
  • @storybook/addon-links ^6.4.19
  • @storybook/react ^6.2.9
  • @types/express ^4.17.13
  • @types/http-proxy-middleware ^1.0.0
  • @types/node ^16.10.1
  • @types/styled-components ^5.1.23
  • typescript ^4.5.5

  • Check this box to trigger a request for Renovate to run again on this repository

Remove /api proxy

Currently every request that goes to /api triggers the nextjs lambda which then in turn proxies a request out to the "real" PHP lambda.
So for every request coming in we are actually using 2 lambdas

Once we can override custom paths to a custom origin this issue should be fixed and all /api requests land directly on the php lambda

serverless-nextjs/serverless-next.js#892

  • remove http-proxy-middleware & @types/http-proxy-middleware packages
  • Remove /api page
  • Add route into frontend/serveless.yml config to route to php lambda

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.