Registration & Login in Deno

If you want to follow the tutorial you can switch on initial-version branch and use the views files.

Sample Login, Registration system with with Deno and oak framework

The project was created along with Youtube Video Registration & Login System in Deno. I appreaciate if you like the video and share it.

Features

  • Written in Typescript
  • Login page
  • Registration page
  • dejs template engine
  • Protected pages available for authorized users only
  • Password encrypted using bcrypt
  • Using JWT tokens
  • dotenv implementation

Installation

You need to have Deno installed in order to run this app locally

  1. Clone the project
  2. Copy .env.example into .env and set JWT_KEY to some random unique key
  3. Navigate to the project root directory using terminal
  4. And run deno run --allow-net --allow-read --allow-env server.ts