Skip to content

diogosouza/logrocket_deno_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A functional CRUD-like API with Deno and Postgres

This is the source code for my article: Creating your first REST API with Deno and Postgres.

This project was developed to work with Deno 1.0.0. Different versions can bring inconsistencies to the project.

You can use this link to install a specific version of Deno to your machine. Then, enter the root folder of this project, and run the following command:

deno run --allow-net --allow-env index.js

Don't forget to have Postgres up and running and creating the table at db/create.sql.