https://github.com/collierscott/dev-blog-api
A blogging app using API Platform, Symfony 4, and ReactJS.
https://github.com/collierscott/dev-blog-api
api-platform api-server blogging reactjs symfony
Last synced: about 6 hours ago
JSON representation
A blogging app using API Platform, Symfony 4, and ReactJS.
- Host: GitHub
- URL: https://github.com/collierscott/dev-blog-api
- Owner: collierscott
- Created: 2018-10-27T11:21:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T21:53:37.000Z (over 6 years ago)
- Last Synced: 2025-04-11T22:13:39.111Z (12 months ago)
- Topics: api-platform, api-server, blogging, reactjs, symfony
- Language: PHP
- Homepage:
- Size: 177 KB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dev-blog-api
A blogging app using [API Platform](https://api-platform.com/) and [ReactJS](https://reactjs.org/). This project is still a pre-production release.
## Getting Started
This is the API resource for the [ReactJS Client](https://github.com/collierscott/dev-blog-client).
1. Clone the repository into a directory and cd into that directory:
```git clone https://github.com/collierscott/dev-blog-api.git && cd dev-blog-api```
2. Run ```composer install```
3. Create the ```.env``` file and configure to connect to your database.
4. If the database is not created, run ```php bin/console doctrine:database:create``` to create it.
5. Can run ```php bin/console doctrine:migrates:migrate``` to create the database structure.
## Data Fixtures
Run ```php bin/console doctrine:fixtures:load``` to load data fixtures.
## Testing
There are some Behat tests. This area is lacking. But, should be enough to provide examples that can be used to write more tests.