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.
- 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
You need to have Deno installed in order to run this app locally
- Clone the project
- Copy
.env.example
into.env
and setJWT_KEY
to some random unique key - Navigate to the project root directory using terminal
- And run
deno run --allow-net --allow-read --allow-env server.ts