A example of an API built using Deno and Javascript.
Please, read the Deno Documentation if you are not using Ubuntu as I am.
Open your terminal (CTRL + ALT + T)
curl -fsSL https://deno.land/x/install/install.sh | sh
-
On GitHub, navigate to the main page of the repository.
-
Under the repository name, click Clone or download.
-
To clone the repository using HTTPS, under "Clone with HTTPS", click
-
To clone the repository using an SSH key, including a certificate issued by your organization's SSH certificate authority, click Use SSH, then click
-
Change the current working directory to the location where you want the cloned directory to be made.
-
Type
git clone
, and then paste the URL you copied in Step 2.$ git clone https://github.com/vinicius77/deno-restful-dev_to.git
-
Press Enter. Your local clone will be created.
$ git clone https://github.com/vinicius77/deno-restful-dev_to.git > Cloning into `Vai Corinthians`... > remote: Counting objects: 10, done. > remote: Compressing objects: 100% (8/8), done. > remove: Total 10 (delta 1), reused 10 (delta 1) > Unpacking objects: 100% (10/10), done.
$ deno run --allow-net --allow-env server.js