DEV Community

Cover image for Job Announcement Website: Boilerplate Code
Sokhavuth TIN
Sokhavuth TIN

Posted on • Updated on

Job Announcement Website: Boilerplate Code


GitHub: https://github.com/Sokhavuth/opine-job
Deno Deploy: https://khmerweb-job.deno.dev

Opine is a web framework designed to run on top of Deno runtime. As a result, we need to install Deno runtime on our local machine first before being able to use Opine framework. To download and install Deno runtime, we can follow the instructions on Deno's website here: download and install Deno.

To easily create a bare bone Opine web application, we need to install Opine CLI by writing code on Terminal window as below:

deno install -f -q --allow-read --allow-write --allow-net --unstable https://deno.land/x/opinecli@2.0.0/opine-cli.ts
Enter fullscreen mode Exit fullscreen mode

After Opine CLI was installed, we can create a bare bone or boilerplate Opine application by writing command on Terminal window as below:

opine-cli opine-job && cd opine-job
Enter fullscreen mode Exit fullscreen mode

To run our application, we need to write the command:

deno run --allow-net --allow-read --allow-env mod.ts
Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (0)