►
From YouTube: Incubation Engineering Jamstack -- Update July 6th, 2022
Description
API Generator Repo: https://gitlab.com/gitlab-org/incubation-engineering/jamstack/apigen
TL;DR: https://gitlab.com/gitlab-org/incubation-engineering/jamstack/meta/-/issues/47
A
Hi
everyone
welcome
to
the
jumpstack
incubation
engineering
update,
I'm,
let's
talk
about
what
happened
since
the
last
update.
I've
been
trying
to
get
these
two,
mrs
merged,
that
will
introduce
the
pipeline
wizard
to
pages
they're,
all
just
sitting
there
and
moving
very
slowly
through
the
review
cycle.
Since
I
need
all
of
the
back-end
front-end
and
documentation
reviews,
the
review
cycle
moves
very
very
slowly.
We
just
need
a
little
more
patience
and
I
hope
this
will
be
merged
soon
anyway.
A
A
A
A
A
A
It
should
also
make
it
easier
for
users
that
at
some
point,
would
like
to
start
manually,
maintaining
the
generated
api
and
maybe
switch
to
a
different
database
engine.
While
doing
so,
I
don't
have
a
ton
of
experience
with
necks
at
the
moment,
but
I'm
learning
as
I
go
along
also
for
next.
I
couldn't
directly
use
the
sqlite
dialect,
because
that
requires
direct
access
to
the
sqlite
process
with
transactions
and
connections,
connection
management.
A
All
these
things
are
already
abstracted
when
using
d1.
I
assume
so
what
I
did
is.
I
wrote
the
d1
dialect
as
a
package
which
is
an
extension
on
the
sqlite
dialect
that
takes
care
of
the
slightly
different
connection,
interface,
it'll,
ultimately,
transpile
the
same
way
sqlite3
does,
but
just
the
connection
management
is
a
bit
simpler.
A
So
with
the
prototype
transformed
into
a
template,
I
can
now
run
this
command
hygiene
init
repo,
and
it
will
generate
a
basic
application
structure
with
no
models
in
it.
Yet
now
I
can
go
and
add
a
model
with
hygiene
model
new,
let's
call
it
pokemon
and
it
will
generate
a
new
pokemon
data
source
and
inject
it.
A
I
can
now
cd
into
the
generated,
app
and
run
wrangler
to
dev
and
use
the
local
flags
so
that
it
runs
locally
and
look.
It
generates
a
server,
and
if
we
open
the
graphql
endpoint,
we
can
get
the
playground
that
will
actually
ship
with
every
app
and
in
here
we
can
run.
This
query
see
I
actually
can't
remember
a
lot
of
from
pokemon,
but
I
think
pikachu
wasn't
the
first
one.
Anyway,
you
just
saw
a
completely
auto-generated
graphql
api
that
runs
on
a
cloudflare
worker.