►
Description
Github:
https://github.com/hyper63/workshops/tree/master/hello-world
Join me (Tom) in a virtual workshop of hyper a new way of interacting with a suite of common cloud services. By using hyper, you will be able to create applications faster than ever before while maintaining the ability to scale in the future!
A
Welcome
to
the
hyper
hello
world
workshop
in
this
workshop,
we
will
start
to
learn
how
to
use
hyper
with
the
hyper
cloud
hi.
My
name
is
tom
wilson
and
I'm
the
ceo
of
hyper-
and
I
am
happy
today
to
introduce
you
to
our
new
developer
preview,
hyper
cloud
dashboard
right
now.
You
can
go
and
sign
up
for
the
developer
preview
by.
A
The
hyper
dashboard
gives
you
access
to
hyper
applications
which
provide
services.
Those
services
are
data,
cache,
storage,
search
and
queues.
Right
now,
in
the
developer
preview
we
have
access
to
the
data
service
and
you
get
keys
so
we'll
use
this
connection
stream
key
to
connect
to
our
data
service
in
this
workshop.
A
In
the
workshop
there's
a
readme
and
it
is
in
a
github
repository
in
the
description.
There
will
be
a
link
to
get
to
this
workshop.
So
if
you
want
to
follow
along
pause
now,
click
the
link
go
to
the
github
repo
and
you
can
either
fork
it
or
or
whatever,
and
and
and
you
can
actually
open
it
up
in
github
pod,
which
I'm
using
by
using
the
get
pod
extension.
A
And
then
you
have
this
little
get
pod
button
or
you
can
click
down
here
open
in
get
pod
and
launch
it
that
way
and
get
pod
is
a
ephemeral
development
environment
that
allows
you
to
run
applications,
and
so
it
will
help
us
go
through
this
hello
world
tutorial
our
workshop
and
in
this
we're
going
to
set
up
a
developer
account
and
then
we're
going
to
create
a
mario
wiki
api.
A
A
First
thing
we
want
to
do
is
create
our
account
or
go
to
dashboard.hyper.io,
and
I'm
going
to
create
a
new
application.
A
So
I've
got
my
connection
string
in
my
emv
file.
I'm
going
to
close
that
file.
Go
back
to
the
readme,
make
sure
it's
in
the
hello
world
directory,
that's
good,
and
now
I'm
going
to
start
the
server.
So
we've
got
this
server
pre-built
with
essentially
the
code.
We
want
to
change
kind
of
stubbed
out,
so
we
can
just
do
dot
scripts,
dot
start
and
what
that'll
do
is
pull
down
the
web
server
framework
and
then
run
the
server.js
file
in
the
hello
world
direct
directory
and
it's
running
on
localhost
port
3000.
A
A
A
Okay,
now
hyperconnect
is
an
sdk
that
provides
a
restful
wrapper
around
all
the
data
calls
for
the
hyper
services
are
all
the
calls,
in
this
case
the
data.
So
this
is
if
you're
familiar
with
express.
This
is
opine
in
dino
and
it
gives
us
a
request
and
a
response
and
on
that
request,
is
the
body
of
what
we'll
be
pasting
in.
So
what
we
want
to
do
is
call
await
and
then
call
hyper.data.add.
A
And
then
we're
going
to
add
the
request.body
now
in
the
real
world
we
would
validate
that
body
and
make
sure
it's
of
correct
shape
and
etc
before
we
added
it
to
our
business
logic
into
our
data
service.
But
in
this
example
in
the
interest
of
time,
we're
just
going
to
trust
what
you
should
never
do.
Trust
the
client
to
send
the
right
permission.
A
A
And
we'll
go
to
hopscotch.io
and
we'll
call
this
url
and
it's
api
slash
characters
like
that,
and
then
we
want
to
do
a
post
and
in
our
body
we
want
to
create
our
json.
So
we're
going
to
do
id
equals
character,
1
type
equals
character,
name
equals
mario
and
description
equals
the
first
character
in
the
mario
universe,
but
was
it
the
first
character?
A
I
don't
know
and
then
let's
hit
send
all
right.
So
we
sent
that
to
our
api
and
then
our
api
sent
that
to
our
hyper
data
service
and
we
got
back
a
response:
okay,
true
character,
one.
So
let's
go
ahead
and
write
some
code
to
get
that
character
back,
and
we
can
do
that
in
our
get
character.js
oops.
I
think
that's
the
wrong
one
get
character.js
in
the
hello
world
api.
A
And
trouble
typing
and
we'll
await
and
then
do
hyper
dot
get
or
data,
because
it's
it's
hyper
and
then
the
service
and
then
the
action
dot
get
and
with
this
request
is
going
to
have
params
and
an
id,
so
we'll
say,
request
params.id
and
then
we
just
want
to
return
it
to
the
caller.
So
we'll
do
response.send
and
we'll
just
send
the
character
like
that.
Okay,
so
that's
our
get
document
our
get
data
and
let's
go
over
to
hopscotch
and
see
how
that
works.
A
Hopefully
this
looks
very
intuitive,
very
easy
and
just
very
straightforward
to
get
started.
You
simply
create
an
app
in
the
hyper
dashboard
and
then
you
get
your
connection
string.
A
You
add
that
to
your
hyper
connect,
sdk
and
in
this
case,
via
an
environment
file
right
here,
it's
taking
a
little
bit
to
return,
but
there
it
is
and
then
once
you
have
that
you
import
the
sdk
either
from
npm
or
in
this
case
dino
and
in
dino
we're
using
import
maps.
So
it
will
look
similar
and
then
in
your
business
logic.
A
You
call
the
service
in
the
action
that
you
want
passing
the
parameters
and
await
that,
because
it
always
returns
a
promise
and
you
get
your
data
and
if
there's
an
error,
it
will
throw
an
error
that
you
can
catch
in
the
promise.
So
it's
very
easy
to
work
with
be
it
should
be
something
you're
very
familiar
with.
If
you've
you
know
worked
with
rest
apis
and
and
it's
a
lot
of
fun.
So
this
is
the
hello
world
workshop.