Skip to content

Example of using PostgREST and Sqitch to log in with jwt_tokens

Notifications You must be signed in to change notification settings

urielaero/postgrest-sqitch-example

Repository files navigation

SetUp

Install sqitch

$ aptitude install sqitch

Configure sqitch

$ sqitch config --user user.name "Name"
$ sqitch config --user user.email "email"
$ sqitch config --bool deploy.verify true
$ sqitch config --bool rebase.verify true 

Create DB

$ createdb -U root flipr

Add target to ~/.sqitch/sqitch.conf

[target "flipr"]
    uri = db:pg://user:pass@localhost/flipr

Install deps in bin

$ ./install.sh

Use sqitch

Check status

$ sqitch status flipr

Deploy

$ sqitch deploy flipr

Test

$ ./test.sh

About

Example of using PostgREST and Sqitch to log in with jwt_tokens

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published