Practice Deno through simple web app with rest api.
- oakserver/oak: A middleware framework for handling HTTP with Deno 🐿️ 🦕
- denodrivers/postgres: PostgreSQL driver for Deno
- Prepare the database.
The Open Source Firebase Alternative | Supabase
- Add .env file.
HOST_NAME=*** # Connection info Database Host
PASSWORD=*** # Connection info Password
PORT=*** # Connection info Port
col name | type | value example |
---|---|---|
id | int8 | 1 |
created_at | timestamptz | 2022-08-14 02:58:37.829165+00 |
name | text | Jack |
- Install denon
denosaurs/denon: 👀 Monitor any changes in your Deno application and automatically restart.
- Install Velociraptor
Velociraptor | The script runner for Deno
$ vr server
Then, open browser to http://0.0.0.0:8080/
.