https://github.com/gemorroj/api-platform-magazine
Simple magazine based on api-platform
https://github.com/gemorroj/api-platform-magazine
Last synced: 4 months ago
JSON representation
Simple magazine based on api-platform
- Host: GitHub
- URL: https://github.com/gemorroj/api-platform-magazine
- Owner: Gemorroj
- License: mit
- Created: 2020-01-04T19:40:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T19:36:13.000Z (over 2 years ago)
- Last Synced: 2025-01-13T16:19:12.398Z (5 months ago)
- Language: PHP
- Size: 335 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# api platform simple magazine backend
### Requires
- 8.0 (Symfony 5.3)
- Mysql/Postgres/some other `dbal` databases### Installation
- install web-server (document root directory is `public/`), RDBMS, composer
- create `.env.local` file with same data from `.env`, configure it
- create private/public keys for jwt
- install composer dependencies `composer insatll`
- create database (`bin/console doctrine:database:create` and `bin/console doctrine:schema:update --force`)
- create user `bin/console app:user-create `
- start web-server
- create POST request with json `{"email": "", "password": ""}`, remember token
- use swagger with remembered bearer token