Skip to content

Commit cc3cb57

Browse files
author
Florian Engelhardt
committed
update readme file to give more information
1 parent 96493c6 commit cc3cb57

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
11
# GraphQL API on top of Microservices
22

3-
... written in PHP
3+
This is just a port from Node.js/Express to PHP/ReactPHP for Chris Norings article on building a [Serverless GraphQL API on top of a Microservice architecture](https://dev.to/azure/learn-how-you-can-build-a-serverless-graphql-api-on-top-of-a-microservice-architecture-233g).
44

5-
## Quickstart example
5+
## Getting Started
6+
7+
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
8+
9+
### Prerequisites
10+
11+
You need to have `docker` and `docker-compose` up and running on your local machine.
12+
13+
## Installing
614

715
```bash
8-
$ make
9-
$ docker-compose up -d
10-
$ curl -X POST \
16+
git clone https://github.com/flow-control/php-graphql-microservice.git
17+
cd php-graphql-microservice
18+
make
19+
docker-compose up -d
20+
curl -X POST \
1121
-H "Content-Type: application/json" \
1222
--data '{ "query": "{ product (id:1) { id name } }" }' \
1323
localhost:8000
1424
```
1525

26+
## Build With
27+
28+
- [ReactPHP](https://reactphp.org/)
29+
1630
## License
1731

1832
MIT, see [LICENSE file](LICENSE).

0 commit comments

Comments
 (0)