Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoinekm/symfony-react-blank
Symfony React Blank is a blank symfony and react project, use this template to start your app using Symfony as a backend api and React as a frontend library.
https://github.com/antoinekm/symfony-react-blank
react symfony template
Last synced: 17 days ago
JSON representation
Symfony React Blank is a blank symfony and react project, use this template to start your app using Symfony as a backend api and React as a frontend library.
- Host: GitHub
- URL: https://github.com/antoinekm/symfony-react-blank
- Owner: AntoineKM
- Created: 2021-10-07T14:49:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:19:56.000Z (11 months ago)
- Last Synced: 2024-05-01T19:28:11.037Z (6 months ago)
- Topics: react, symfony, template
- Language: PHP
- Homepage:
- Size: 276 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Symfony React Blank
Symfony React Blank is a blank symfony and react project, use this template to start your app using Symfony as an backend api and React as a frontend library.## Installation
* [Install Composer](https://getcomposer.org/download).
* [Install Yarn](https://yarnpkg.com/) or [NodeJS](https://nodejs.org/).
* Click on "use this template" button on the top of this repository and run the following commands:```
# Clone the project to download its contents
> cd projects/
> git clone .git
or
> git clone https://github.com/AntoineKM/symfony-react-blank.git# Make Composer install the project's dependencies into vendor/
# Warning: This template requires php >=8.0.0
> cd
or
> cd symfony-react-blank
> composer install# Make Yarn install the project's dependencies into node_modules/
> yarn install```
* Finally, setup your ``.env.local`` as the [.env](.env)
## Usage
```
# Startup the Symfony server
> symfony server:start# Then startup the Symfony Encore server
> yarn dev-server
```* Access the server at http://localhost:8000