An open API service indexing awesome lists of open source software.

https://github.com/upsun/demo-decouple-frontend

[DEMO] How to decouple your Symfony frontend using Next.js on Upsun
https://github.com/upsun/demo-decouple-frontend

upsun-example

Last synced: 12 months ago
JSON representation

[DEMO] How to decouple your Symfony frontend using Next.js on Upsun

Awesome Lists containing this project

README

          





[DEMO] How to decouple your Symfony frontend using Next.js on Upsun


Contribute, request a feature, or check out our resources




Join our Discord community&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Documentation&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
DevCenter&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Report a bug&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Request a feature





Open issues
&nbsp&nbsp

Open PRs
&nbsp&nbsp



Contents



Features&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Structure&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Resources&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Contact&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Learn&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Contribute&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp




> **_DISCLAIMER:_**
>
This is an example codebase on how to decouple a Symfony frontend using Next.js with Upsun.
>
This repo contains the final result you should obtain following [this blogpost](https://devcenter.upsun.com/posts/sfcon2024-decouple-frontend/).
>
This repo is meant to be maintained by the community.

## Features
- PHP 8.3
- Composer-based build
- NodeJS v22

## Structure

* ``main`` branch contains the starting point of the blogpost: a monolith Symfony application to host on Upsun
* ``decouple-frontend`` branch contains the final result of the blogpost: a Symfony API application as backend and a Next.js application as frontend, displaying the list of blogpost + single page for each of them

## Resources

- [Upsun PHP documentation](https://docs.upsun.com/languages/php.html)

## Contact

This template is a demo application and is not maintained by the Upsun Developer Relations team, but they will be notified of all issues and pull requests you open here.

- **Discord:** If you haven't done so already, you can join Upsun's community on [Discord](https://discord.gg/z2YQzTeZqY) channels and ping the `@devrel_team` with any questions.

## About Upsun

This template has been specifically designed to deploy on Upsun.

What is Upsun?

Upsun is a unified, secure, enterprise-grade platform for building, running and scaling web applications. We’re the leader in Fleet Ops: Everything you need to manage your fleet of websites and apps is available from the start. Because infrastructure and workflows are handled from the start, apps just work, so teams can focus on what really matters: making faster changes, collaborating confidently, and scaling responsibly. Whether managing a fleet of ten or ten thousand sites and apps, Upsun is the Developer- preferred solution that scales right.

Our key features include:

* **GitOps: Git as the source of truth**

Every branch becomes a development environment, and nothing can change without a commit.

* **Batteries included: Managed infrastructure**

[Simple abstraction in YAML](https://docs.upsun.com/configuration/yaml.html) for [committing and configuring infrastructure](https://docs.upsun.com/overview/structure.html), fully managed patch updates, and 24 [runtimes](https://docs.upsun.com/languages.html) & [services](https://docs.upsun.com/configuration/services.html) that can be added with a single line of code.

* **Instant cloning: Branch, merge, repeat**

[Reusable builds](https://docs.upsun.com/overview/build-deploy.html) and automatically inherited production data provide true staging environments - experiment in isolation, test, then destroy or merge.

* **FleetOps: Fleet management platform**

Leverage our public API along with custom tools like [Source Operations](https://docs.upsun.com/configuration/app/source-operations.html) and [Activity Scripts](https://docs.upsun.com/integrations/activity.html) to [manage thousands of applications](https://youtu.be/MILHG9OqhmE) - their dependency updates, fresh content, and upstream code.

Contribute

Help us keep top-notch templates!

Every one of our templates is open source, and they're important resources for users trying to deploy to Upsun for the first time or better understand the platform. They act as getting started guides, but also contain a number of helpful tips and best practices when working with certain languages and frameworks.

See something that's wrong with this template that needs to be fixed? Something in the documentation unclear or missing? Let us know!


How to contribute



Report a bug&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Submit a feature request&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Open a pull request&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp






Need help?



Join us on Discord




Thanks to all of our amazing contributors!









Made with contrib.rocks