https://github.com/edertxodev/sfnamaste
Symfony 4 boilerplate
https://github.com/edertxodev/sfnamaste
boilerplate docker docker-compose graphql sfdocker symfony4
Last synced: 2 months ago
JSON representation
Symfony 4 boilerplate
- Host: GitHub
- URL: https://github.com/edertxodev/sfnamaste
- Owner: edertxodev
- Created: 2018-02-16T13:23:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T13:21:25.000Z (about 7 years ago)
- Last Synced: 2025-08-16T02:36:58.258Z (10 months ago)
- Topics: boilerplate, docker, docker-compose, graphql, sfdocker, symfony4
- Language: PHP
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
sfNamaste
Symfony 4 application boilerplate ready to use with Docker
Features
- Symfony 4
-
Docker & Docker compose (Includes PostgreSQL and Redis) -
Lopezator's sfdocker script -
GraphQL support with overblog's GraphQLBundle
## Prerequisites
- [Docker](https://www.docker.com/) and [Docker compose](https://docs.docker.com/compose/) installed
## Installation
- Clone repository:
```bash
$ git clone https://github.com/edertxodw/sfNamaste
```
- Configure sfdocker:
```bash
$ ./sfdocker config
```
> **Default configuration:**
> Container: php-fpm
> User: www-data
- Build:
```bash
$ ./sfdocker build
```
- Install dependencies:
```bash
$ ./sfdocker yarn install
```
- Create database tables:
```bash
$ ./sfdocker console doctrine:schema:update --force
```
## Tweets
**sfNamaste** comes with a CRUD example entity. You can write
yor own __tweets__ from the example page at `http://localhost:3000/tweets`
## GraphQL
Integrates [overblog/GraphQLBundle(v 0.10)](https://github.com/overblog/GraphQLBundle/tree/0.10)
so you can create a **GraphQL** based query API.