ntwi / fiber-authentication-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth Examples

docker run --name local-postgres -p 5432:5432 -e POSTGRES_PASSWORD=MyP@ssw0rd -d postgres

Run the following query on PostgreSQL

create table users
(
    email             text not null,
    password_hash     text not null,
    id                serial
        primary key,
    username          text,
    referral_username text
);

alter table users
    owner to postgres;

Adjust and rename .env.example to .env and run make

About


Languages

Language:Go 69.8%Language:HTML 26.9%Language:Dockerfile 2.8%Language:Shell 0.5%Language:Makefile 0.0%