diff --git a/README.md b/README.md index 02b2943..02f79a5 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ To start the development server, you need to run the following commands below. +### Using Node ```bash npm install npm run dev @@ -13,6 +14,12 @@ Open http://localhost:3000 with your browser to see the result. Our application runs on port `3000`, and GraphQL server also runs on `localhost:3000/api/graphql`. +### Using Nginx +```bash +docker-compose build && docker-compose up +``` +Our application runs on port `80`, and GraphQL server also runs on `localhost:80/api/graphql`. + ## ⚡ Using Query You can easily use `Query` component to send queries to the GraphQL server. Just pass your query to the `Query` component.