Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guigaoliveira authored Sep 30, 2019
1 parent 2c03342 commit 5f1c8ee
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# ElixirGraphqlApp
## Server Part

Install postgres and configure what is needed in `/config`.

To start your Phoenix server:

- Install dependencies with `mix deps.get`
- Create and migrate your database with `mix ecto.setup`
- Start Phoenix endpoint with `mix phx.server`


Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).

## Client Part

```sh
cd web
yarn i && yarn start
```

Visit [`localhost:3000`](http://localhost:3000) from your browser to see the web application.

## Learn more

- Official website: http://www.phoenixframework.org/
Expand All @@ -18,11 +30,5 @@ Ready to run in production? Please [check our deployment guides](https://hexdocs
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix

## Web App

```sh
cd web
yarn i && yarn start
```

Visit [`localhost:3000`](http://localhost:3000) from your browser to see the web application.
## References
* [https://www.viget.com/articles/getting-started-with-graphql-phoenix-and-react/](https://www.viget.com/articles/getting-started-with-graphql-phoenix-and-react/)

0 comments on commit 5f1c8ee

Please sign in to comment.