https://github.com/thecodeholic/deno-login-register
Registration & Login with Deno
https://github.com/thecodeholic/deno-login-register
deno denoexample denoland denologin denoregistration denotutorial oak oakframework
Last synced: 9 months ago
JSON representation
Registration & Login with Deno
- Host: GitHub
- URL: https://github.com/thecodeholic/deno-login-register
- Owner: thecodeholic
- Created: 2020-05-30T17:34:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T03:35:59.000Z (over 5 years ago)
- Last Synced: 2025-03-21T22:41:29.653Z (10 months ago)
- Topics: deno, denoexample, denoland, denologin, denoregistration, denotutorial, oak, oakframework
- Language: TypeScript
- Homepage: https://youtu.be/2TRipZfWEGY
- Size: 7.81 KB
- Stars: 27
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Registration & Login in Deno
**If you want to follow the tutorial you can switch on [initial-version](https://github.com/thecodeholic/deno-login-register/tree/initial-version) branch and use the views files.**
#### Sample Login, Registration system with with [Deno](https://deno.land) and [oak framework](https://deno.land/x/oak)
> The project was created along with Youtube Video [Registration & Login System in Deno](https://youtu.be/2TRipZfWEGY). I appreaciate if you like the video and share it.
## Features
- Written in Typescript
- Login page
- Registration page
- [dejs](https://deno.land/x/dejs) template engine
- Protected pages available for authorized users only
- Password encrypted using [bcrypt](https://deno.land/x/bcrypt)
- Using [JWT](https://deno.land/x/djwt) tokens
- [dotenv](https://deno.land/x/dotenv) implementation
## Installation
You need to have [Deno installed](https://deno.land/#installation) in order to run this app locally
1. Clone the project
1. Copy `.env.example` into `.env` and set `JWT_KEY` to some random unique key
1. Navigate to the project root directory using terminal
1. And run `deno run --allow-net --allow-read --allow-env server.ts`