Skip to content

L04DB4L4NC3R/deno-mvc-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Oak MVC template

A template repository for an MVC server using Oak in Deno


What is being used here

  • Uses Deno MongoDB driver
  • Uses Deno Oak server
  • Uses Deno standard library dotenv

Instructions to run

  • Make a .env file using .env.example

  • Run the following command on the terminal

deno run --allow-net \ # for oak server to bind to port
--allow-plugin --unstable \  # for mongodb plugin (unstable for now)
--allow-read --allow-env \  # for reading .env
--allow-write app.ts # write command for mongodb plugin
  • Or run in a container using podman
podman image build -t oak-mvc-template .

podman container run -p 3000:3000 oak-mvc-template
  • Or run in a container using docker
docker image build -f Containerfile -t oak-mvc-template .

docker container run -p 3000:3000 oak-mvc-template

Made with ❤️ by Angad Sharma

Releases

No releases published

Packages

No packages published