Skip to content

A GraphQL server written in ReasonML that authenticates a user in Hasura

License

Notifications You must be signed in to change notification settings

anisjonischkeit/reason-hasura-auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reason Native Hasura Authentication Server

This is a sample that shows how a simple Reason Native authentication server for Hasura could look. Code can be found in auth-server/lib

Running the server

Terminal 1

cd auth-server
esy start

Terminal 2

cd hasura
docker-compose up -d # this starts hasura in the background, stop it with docker-compose down
scripts/run-migrations.sh
scripts/start-server.sh

Now go to http://localhost:9695/

NOTE: Make sure to start the auth server before you start hasura since hasura depends on it being up.

About

A GraphQL server written in ReasonML that authenticates a user in Hasura

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published