Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/przemekhasz/content-administration-backend
Application to manage the content of the site. In the backend layer, I provide many options for configuring your website, portfolio, business card, whatever you want.
https://github.com/przemekhasz/content-administration-backend
api ddd-architecture docker php symfony
Last synced: 5 days ago
JSON representation
Application to manage the content of the site. In the backend layer, I provide many options for configuring your website, portfolio, business card, whatever you want.
- Host: GitHub
- URL: https://github.com/przemekhasz/content-administration-backend
- Owner: Przemekhasz
- Created: 2024-04-22T08:15:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-15T09:32:37.000Z (6 months ago)
- Last Synced: 2024-05-15T23:53:16.570Z (6 months ago)
- Topics: api, ddd-architecture, docker, php, symfony
- Language: PHP
- Homepage: https://api.propelascend.pl:8080/admin
- Size: 481 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Content Administration Backend
---
### Project details
Admin: [api.propelascend.pl/admin](https://api.propelascend.pl:8080/admin)
admin visitor access:
```
username: visitor
pass: !9Ws+9L\f2U2
```API: [api.propelascend.pl/api/doc](https://api.propelascend.pl:8080/api/doc)
Frontend app: [propelascend.pl](https://propelascend.pl)
---
## Setup
#### Flow
1. Build project:
```bash
$ make build
$ make up
```1. Create database:
```bash
$ php bin/console doctrine:database:create
$ php bin/console doctrine:schema:create
```2. Schema update:
```bash
$ make db
# or
$ php bin/console doctrine:schema:update --force
```3. Migrations & Fixtures:
[DoctrineFixturesBundle](https://symfony.com/doc/3.5.x/bundles/DoctrineFixturesBundle/index.html)
Loading Fixtures
```bash
$ php bin/console doctrine:fixtures:load
# or
$ php bin/console doctrine:fixtures:load --env=dev
```#### Database
- [SF Intro](https://symfony.com/doc/current/doctrine.html)## Tech
Clear cache 4 prod mode:
```
$ php bin/console cache:clear --env=prod --no-debug
$ php bin/console cache:warmup --env=prod --no-debug
$ php bin/console assets:install --env=prod --no-debug --symlink
```## Deploy 2 prod:
- [SF Deploy Flow](https://symfony.com/doc/current/deployment.html)## Test
- [SF Testing](https://symfony.com/doc/current/testing.html)