11 Commits

Author SHA1 Message Date
Joao P Dubas
c5612f9398 [day-03] create custom scalar for uuid
Graphql doesn't support uuid natively. So, we must create a custom
scalar to handle this type.
2021-06-24 00:10:17 +00:00
Joao P Dubas
8787973075 [day-03] create user schema
Add user type to represent entity in graphql.
2021-06-24 00:09:54 +00:00
Joao P Dubas
b543e241b0 [day-03] enable absinthe formatter 2021-06-24 00:04:19 +00:00
Joao P Dubas
424bfa917e [day-03] install absinthe dependency
Yeah, it's time to work with graphql in elixir.
2021-06-24 00:03:34 +00:00
Joao P Dubas
3709cd265a [day-02] add context to create/get a user
Create context module to create and fetch a user.
2021-06-22 23:57:10 +00:00
Joao P Dubas
d578bc6cf3 [day-02] validate user input
Also improve migration to reflect requirements in validation done
through `Ecto.Changeset`.
2021-06-22 23:56:07 +00:00
Joao P Dubas
97af827bc2 [day-02] add user schema and migration
Add elixir struct to represent an user and its corresponding
representation on the database.
2021-06-22 23:55:02 +00:00
Joao P Dubas
cebce7da42 [day-02] configure repo to use uuid type as id 2021-06-22 23:50:52 +00:00
Joao P Dubas
fc73f30dd0 [day-01] setup imc calc and route 2021-06-22 01:56:40 +00:00
Joao P Dubas
8658384030 [day-01] phoenix project setup
Create new phoenix project
2021-06-22 01:55:16 +00:00
Joao P Dubas
f02c0ff310 [day-00] base infra for the project 2021-06-22 01:52:43 +00:00