/Deno-Oak-JWT-CRUD

Base Framework

Primary LanguageTypeScriptMIT LicenseMIT

Deno Oak JWT CRUD For You to Learn <3

Minimum Blog Application

CRUD Operation

  • Sign-up Feature
  • Log-In Feature
  • Create Post Feature
  • Update Post Feature
  • Delete Post Feature
  • Get Post By ID Feature
  • Get All Post

Experience to Learn

  • Learn How to Use Drun (Deno Runner)
  • Learn How to Make Router
  • Learn How to Protect Router
  • Learn How to Use JSON Web Authentication
  • Learn How to Hash using BCrypt
  • Learn How to Interact with PostgreSQL
  • Learn How to Handling Error
  • Learn How to Use Deno-nessie for Database Migration

Todo

  • Schema Validation using Yup
  • Testing
  • Evaluate & Refactor

Start the project

First, cache all the modules, execute nessie and start the program :

deno cache ./deps.ts

deno run --allow-net --allow-read --allow-env https://deno.land/x/nessie/cli.ts migrate

deno run --allow-net --allow-env --allow-read src/index.ts

Dont forget to use drun or denon, my project use drun, install drun first :)