Skip to content

ludwikbukowski/empexCookbook

Repository files navigation

Empex Cookbook

This project was created for purpose of my presentation Datadog and Elixir for EMPEX LA conference

I present how to integrate your Elixir application with Datadog The application is based on Phoenix, Ecto and Absinthe frameworks.

Backend application

Setup Postgres in docker:

$ docker run --name empex -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres

Setup ecto:

$ mix deps.get
$ mix ecto.create
$ mix ecto.migrate

Run application:

$ mix phx.server

From now on, you can navigate to http://localhost:4000/graphiql and send Graphql queries

Frontend application

Remeber to run backend first in another session (previous section). Then, run:

$ cd angular-front
$ npm install
$ ng serve

and navigate to http://localhost:4200/ Now you can create and remove recipes using dashboard

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published