Hi everyone,
Does someone want to participate to bring the Absinthe Tutorial to phoenix 1.4 with Dataloader and all that is needed to have a clear documentation?
https://hexdocs.pm/absinthe/start.html
Because i really want to learn Absinthe and I think this can help others as well.
Also experience isn’t required just willingness to learn.
What do you think community?
Thanks
3 Likes
I cannot tell You for documentation, but I can tell You data loader is covered in this resource
Hello Everyone,
Early access to the " Full-Stack GraphQL with Absinthe, Phoenix, and React" video course is now available on the Pragmatic Studio site
GraphQL is revolutionizing the way developers build APIs. Gone are the days when the server decided the shape of the response data. GraphQL puts the client in control so it can fetch exactly the data it needs and nothing more.
So what does it take to put together a full-stack GraphQL app using:
Phoenix as the backend server,
Absinthe for t…
This is a good complement to the book on Absinthe
[image]
by Bruce Williams and Ben Wilson
Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, leveraging its flexible queries to empower your users, and its declarative structure to simplify your code. Absinthe is the GraphQL toolkit for Elixir, a functional programming language designed to enable massive concurrency atop robust application architectures. Written by the creators of Absinthe, this book will help you take full advantage of these …
I was interested in GraphQL before Absinthe, so I started to do it with node.js first.
I do understand these are paid resources, and might suit all needs, but You can start by learning dataloader as an independant tool…
Starting by this will help You understand how to integrate it with Absinthe later.
If You have all your context queries ready, this will help You build a batch of queries, to execute as one.
Dataloader is a great tool
8 Likes
Thanks,
I come from nodejs so I have some familiarity with those topics the resources are great.
Also i already have that course.
What i was asking is to make a joint effort and bring the Absinthe official tutorial up to date so everyone can use it.
I will build a series on how this is done here
4 Likes
Kurisu
February 12, 2020, 4:06pm
6
Nice guide. ^^
I found a typo in Section 1. You forgot the x
of phoenix
in the bottom link to Phoenix page. So the link doesn’t work.
OS: Linux , Mac , Windows with WSL or Virtual Linux
(Virtual Box)
Optional: VsCode
Database: PostgreSQL My version: PostgreSQL 10
Programing languages(required): Erlang , Elixir . My versions: Erlang/23 OTP and Elixir 1.9.4
NodeJS above version 5, My version: NodeJS 12.4.0
inotify-tools (only for Linux Users)
Hex
Phoenix
To install them use the:
https://hexdocs.pm/phoeni/installation.html#content
2 Likes
Thanks @Kurisu good catch, I updated the article.
1 Like
Kurisu
February 19, 2020, 2:01pm
9
Clear and easy to understand as always.
About this part of the posts
migration file I have a question.
# posts table
add :body, :string # Create the body column in the posts table
Will the “body” column store string of more than 255 characters length? If so, before running the migration I would suggest to change its type to :text
# posts table
add :body, :text # Create the body column in the posts table
This will allow to store post with unlimited length body in the database. The Post
schema however is ok with the type :string
for the body
field.
But maybe you want to make this change in your next article. That is also fine.
2 Likes
Thanks @Kurisu for the appreciation on my work and follow up on this series.
@kurisu can you comment directly on the article page, so I can credit you for this update ragrding body :text
?
2 Likes
Please see my reply on dev.to @Kurisu @romenigld
I will add what you guys suggested using an alter migration.
https://hexdocs.pm/ecto_sql/Ecto.Migration.html#alter/2
Also if you have any other opinions please feel free to express them, feedback is always welcomed.
Thanks for pointing this out.
1 Like
part 5 about testing is out
4 Likes