Skip to content

🦕 basic jwt implementation with CRUD operations using deno + postgres

Notifications You must be signed in to change notification settings

22mahmoud/deno_crud_jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno crud Api + jwt

A simple boilerplate for Deno CRUD Api, with jwt authentication.

Features

Prerequisites

  • Deno v1.
  • Postgres

Getting Started

git clone https://github.com/22mahmoud/deno_crud_jwt.git

cd deno_crud_jwt

cp .env.example .env

before run the server fill .env values.

# download & cache all deps
deno cache ./deps.ts

# migrate database after fill your env file
deno run --allow-net --allow-read --allow-env https://deno.land/x/nessie/cli.ts migrate

# run the server
deno run --allow-net --allow-env --allow-read --unstable src/index.ts