Skip to content

An app written in TypeScript and run on the Deno JS environment. The app is based on the Oak framework and DenoDB.

License

Notifications You must be signed in to change notification settings

abrarhayat/deno-app-oak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Deno app based on the Oak Framework

A demo To Do app written in TypeScript in Deno

  • For this to work, deno MUST be installed. More info on installation: deno

    For example for Mac systems using Homebrew, in the terminal, enter this command:

  • brew install deno

  • Create a new file in the project root directory named .env

  • Inside the .env file, copy the following and fill up with valid mysql database information :

PORT=8000
MY_SQL_SCHEMA=valid_schema_name
MY_SQL_HOST=valid_mysql_host
MY_SQL_USERNAME=valid_username
MY_SQL_PASSWORD=valid_password
MY_SQL_PORT=valid_port

More info: DenoDB

  • Now, in the terminal, enter:
  • deno run --allow-env --allow-net --allow-read app.ts
  • Server should now running with the endpoints in http://localhost:8000

About

An app written in TypeScript and run on the Deno JS environment. The app is based on the Oak framework and DenoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published