Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 667 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 667 Bytes

test-deno api rest

My first proyect with DENO and postgresql

  • first step: you need install deno and config PATH
sudo apt-get install curl unzip node
curl -fsSL https://deno.land/x/install/install.sh | sudo DENO_INSTALL=/usr/local sh
  • second step: install denon if you don´t want to restart server when you stay develop.
deno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon/denon.ts
  • third step: create and configure .env file with your postgresql server credentials, take .env.sample as an example

  • finally: start with this command

denon run --allow-read --allow-env --allow-net server.ts